aboutsummaryrefslogtreecommitdiff
path: root/src/3rdParty/efsw/WatcherInotify.hpp
blob: bf2ff5edc740899ae664683e5d7ede744271f5ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef EFSW_WATCHERINOTIFY_HPP
#define EFSW_WATCHERINOTIFY_HPP

#include <efsw/FileInfo.hpp>
#include <efsw/FileWatcherImpl.hpp>

namespace efsw {

class WatcherInotify : public Watcher {
  public:
	WatcherInotify();

	WatcherInotify( WatchID id, std::string directory, FileWatchListener* listener, bool recursive,
					WatcherInotify* parent = NULL );

	bool inParentTree( WatcherInotify* parent );

	WatcherInotify* Parent;
	WatchID InotifyID;

	FileInfo DirInfo;
};

} // namespace efsw

#endif