aboutsummaryrefslogtreecommitdiff
path: root/dep/efsw/src/efsw/Watcher.hpp
blob: 5a35cb9a2ac2819f37bc5fc84319e2bb76aa7b20 (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
30
#ifndef EFSW_WATCHERIMPL_HPP
#define EFSW_WATCHERIMPL_HPP

#include <efsw/base.hpp>
#include <efsw/efsw.hpp>

namespace efsw {

/** @brief Base Watcher class */
class Watcher
{
	public:
		Watcher();

		Watcher( WatchID id, std::string directory, FileWatchListener * listener, bool recursive );

		virtual ~Watcher() {}

		virtual void watch() {}

		WatchID					ID;
		std::string				Directory;
		FileWatchListener	*	Listener;
		bool					Recursive;
		std::string				OldFileName;
};

}

#endif