aboutsummaryrefslogtreecommitdiff
path: root/src/3rdParty/efsw/WatcherGeneric.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdParty/efsw/WatcherGeneric.hpp')
-rwxr-xr-xsrc/3rdParty/efsw/WatcherGeneric.hpp29
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
6namespace efsw {
7
8class DirWatcherGeneric;
9
10class 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