aboutsummaryrefslogtreecommitdiff
path: root/src/3rdParty/efsw/WatcherInotify.hpp
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2022-11-15 17:23:46 +0800
committerLi Jin <dragon-fly@qq.com>2022-11-15 17:52:09 +0800
commit94f8330613877b3582d32bd11abd83a97b4399ad (patch)
tree5359de314be1ebde17f8d1e48632a97d18f9e50f /src/3rdParty/efsw/WatcherInotify.hpp
parent60f8f00a022ac08701792b2897b72d8c99b50f52 (diff)
downloadyuescript-94f8330613877b3582d32bd11abd83a97b4399ad.tar.gz
yuescript-94f8330613877b3582d32bd11abd83a97b4399ad.tar.bz2
yuescript-94f8330613877b3582d32bd11abd83a97b4399ad.zip
adding -w option to Yuescript tool.
Diffstat (limited to 'src/3rdParty/efsw/WatcherInotify.hpp')
-rwxr-xr-xsrc/3rdParty/efsw/WatcherInotify.hpp26
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
7namespace efsw {
8
9class 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