]>
Commit | Line | Data |
---|---|---|
6b8ef0b3 VZ |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/unix/fswatcher_inotify.h | |
3 | // Purpose: wxInotifyFileSystemWatcher | |
4 | // Author: Bartosz Bekier | |
5 | // Created: 2009-05-26 | |
6 | // RCS-ID: $Id$ | |
7 | // Copyright: (c) 2009 Bartosz Bekier <bartosz.bekier@gmail.com> | |
8 | // Licence: wxWindows licence | |
9 | ///////////////////////////////////////////////////////////////////////////// | |
10 | ||
11 | #ifndef _WX_FSWATCHER_UNIX_H_ | |
12 | #define _WX_FSWATCHER_UNIX_H_ | |
13 | ||
14 | #include "wx/defs.h" | |
15 | ||
16 | #if wxUSE_FSWATCHER | |
17 | ||
18 | class WXDLLIMPEXP_BASE wxInotifyFileSystemWatcher : | |
19 | public wxFileSystemWatcherBase | |
20 | { | |
21 | public: | |
22 | wxInotifyFileSystemWatcher(); | |
23 | ||
24 | wxInotifyFileSystemWatcher(const wxFileName& path, | |
25 | int events = wxFSW_EVENT_ALL); | |
26 | ||
27 | virtual ~wxInotifyFileSystemWatcher(); | |
28 | ||
29 | protected: | |
30 | bool Init(); | |
31 | }; | |
32 | ||
33 | #endif | |
34 | ||
35 | #endif /* _WX_FSWATCHER_UNIX_H_ */ |