diff options
Diffstat (limited to 'src/3rdParty/efsw/WatcherGeneric.hpp')
-rwxr-xr-x | src/3rdParty/efsw/WatcherGeneric.hpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/3rdParty/efsw/WatcherGeneric.hpp b/src/3rdParty/efsw/WatcherGeneric.hpp new file mode 100755 index 0000000..9cf8365 --- /dev/null +++ b/src/3rdParty/efsw/WatcherGeneric.hpp | |||
@@ -0,0 +1,29 @@ | |||
1 | #ifndef EFSW_WATCHERGENERIC_HPP | ||
2 | #define EFSW_WATCHERGENERIC_HPP | ||
3 | |||
4 | #include <efsw/FileWatcherImpl.hpp> | ||
5 | |||
6 | namespace efsw { | ||
7 | |||
8 | class DirWatcherGeneric; | ||
9 | |||
10 | class WatcherGeneric : public Watcher { | ||
11 | public: | ||
12 | FileWatcherImpl* WatcherImpl; | ||
13 | DirWatcherGeneric* DirWatch; | ||
14 | |||
15 | WatcherGeneric( WatchID id, const std::string& directory, FileWatchListener* fwl, | ||
16 | FileWatcherImpl* fw, bool recursive ); | ||
17 | |||
18 | ~WatcherGeneric(); | ||
19 | |||
20 | void watch(); | ||
21 | |||
22 | void watchDir( std::string dir ); | ||
23 | |||
24 | bool pathInWatches( std::string path ); | ||
25 | }; | ||
26 | |||
27 | } // namespace efsw | ||
28 | |||
29 | #endif | ||