blob: 9cf836527c110c82946ae11bdb48ab509923a975 (
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
27
28
29
|
#ifndef EFSW_WATCHERGENERIC_HPP
#define EFSW_WATCHERGENERIC_HPP
#include <efsw/FileWatcherImpl.hpp>
namespace efsw {
class DirWatcherGeneric;
class WatcherGeneric : public Watcher {
public:
FileWatcherImpl* WatcherImpl;
DirWatcherGeneric* DirWatch;
WatcherGeneric( WatchID id, const std::string& directory, FileWatchListener* fwl,
FileWatcherImpl* fw, bool recursive );
~WatcherGeneric();
void watch();
void watchDir( std::string dir );
bool pathInWatches( std::string path );
};
} // namespace efsw
#endif
|