source: imaps-frontend/node_modules/@parcel/watcher/src/macos/FSEventsBackend.hh@ 0c6b92a

main
Last change on this file since 0c6b92a was 0c6b92a, checked in by stefan toskovski <stefantoska84@…>, 5 weeks ago

Pred finalna verzija

  • Property mode set to 100644
File size: 565 bytes
Line 
1#ifndef FS_EVENTS_H
2#define FS_EVENTS_H
3
4#include <CoreServices/CoreServices.h>
5#include "../Backend.hh"
6
7class FSEventsBackend : public Backend {
8public:
9 void start() override;
10 ~FSEventsBackend();
11 void writeSnapshot(WatcherRef watcher, std::string *snapshotPath) override;
12 void getEventsSince(WatcherRef watcher, std::string *snapshotPath) override;
13 void subscribe(WatcherRef watcher) override;
14 void unsubscribe(WatcherRef watcher) override;
15private:
16 void startStream(WatcherRef watcher, FSEventStreamEventId id);
17 CFRunLoopRef mRunLoop;
18};
19
20#endif
Note: See TracBrowser for help on using the repository browser.