aboutsummaryrefslogtreecommitdiff
path: root/src/3rdParty/efsw/Watcher.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdParty/efsw/Watcher.hpp')
-rwxr-xr-xsrc/3rdParty/efsw/Watcher.hpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/3rdParty/efsw/Watcher.hpp b/src/3rdParty/efsw/Watcher.hpp
new file mode 100755
index 0000000..84f0980
--- /dev/null
+++ b/src/3rdParty/efsw/Watcher.hpp
@@ -0,0 +1,29 @@
1#ifndef EFSW_WATCHERIMPL_HPP
2#define EFSW_WATCHERIMPL_HPP
3
4#include <efsw/base.hpp>
5#include <efsw/efsw.hpp>
6
7namespace efsw {
8
9/** @brief Base Watcher class */
10class Watcher {
11 public:
12 Watcher();
13
14 Watcher( WatchID id, std::string directory, FileWatchListener* listener, bool recursive );
15
16 virtual ~Watcher() {}
17
18 virtual void watch() {}
19
20 WatchID ID;
21 std::string Directory;
22 FileWatchListener* Listener;
23 bool Recursive;
24 std::string OldFileName;
25};
26
27} // namespace efsw
28
29#endif