acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
aaa_file_os_watcher.h
1#pragma once
2
3
4namespace file
5{
6
7
8 class CLASS_DECL_ACME os_watch :
9 virtual public watch
10 {
11 public:
12
13
14 ::i32 m_iFile;
15 dispatch_source_t m_source;
16 bool m_bKeepMonitoringFile;
17
18 os_watch();
19 virtual ~os_watch();
20
21
22 virtual bool open(const ::file::path & pathFolder, bool bRecursive) override;
23
24
25 virtual void on_dispatch_source_cancellation();
26
27 //void handle_action(::file::action * paction) override;
28
29
30 void on_event(ulong uEventTypes);
31
32
33 };
34
35
36 class CLASS_DECL_ACME os_watcher :
37 virtual public watcher
38 {
39 public:
40
41
42 os_watcher();
43 virtual ~os_watcher();
44
45
46 virtual bool step() override;
47
48
49 };
50
51
52} // namespace file_watcher
53
54
55
56
Definition filesystem.h:16