diff options
Diffstat (limited to 'src/3rdParty/efsw/WatcherInotify.hpp')
-rwxr-xr-x | src/3rdParty/efsw/WatcherInotify.hpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/3rdParty/efsw/WatcherInotify.hpp b/src/3rdParty/efsw/WatcherInotify.hpp new file mode 100755 index 0000000..bf2ff5e --- /dev/null +++ b/src/3rdParty/efsw/WatcherInotify.hpp | |||
@@ -0,0 +1,26 @@ | |||
1 | #ifndef EFSW_WATCHERINOTIFY_HPP | ||
2 | #define EFSW_WATCHERINOTIFY_HPP | ||
3 | |||
4 | #include <efsw/FileInfo.hpp> | ||
5 | #include <efsw/FileWatcherImpl.hpp> | ||
6 | |||
7 | namespace efsw { | ||
8 | |||
9 | class WatcherInotify : public Watcher { | ||
10 | public: | ||
11 | WatcherInotify(); | ||
12 | |||
13 | WatcherInotify( WatchID id, std::string directory, FileWatchListener* listener, bool recursive, | ||
14 | WatcherInotify* parent = NULL ); | ||
15 | |||
16 | bool inParentTree( WatcherInotify* parent ); | ||
17 | |||
18 | WatcherInotify* Parent; | ||
19 | WatchID InotifyID; | ||
20 | |||
21 | FileInfo DirInfo; | ||
22 | }; | ||
23 | |||
24 | } // namespace efsw | ||
25 | |||
26 | #endif | ||