]>
Commit | Line | Data |
---|---|---|
6b8ef0b3 VZ |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/unix/fswatcher_kqueue.h | |
3 | // Purpose: wxKqueueFileSystemWatcher | |
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_KQUEUE_H_ | |
12 | #define _WX_FSWATCHER_KQUEUE_H_ | |
13 | ||
14 | #include "wx/defs.h" | |
15 | ||
16 | #if wxUSE_FSWATCHER | |
17 | ||
18 | class WXDLLIMPEXP_BASE wxKqueueFileSystemWatcher : | |
19 | public wxFileSystemWatcherBase | |
20 | { | |
21 | public: | |
22 | wxKqueueFileSystemWatcher(); | |
23 | ||
24 | wxKqueueFileSystemWatcher(const wxFileName& path, | |
25 | int events = wxFSW_EVENT_ALL); | |
26 | ||
27 | virtual ~wxKqueueFileSystemWatcher(); | |
28 | ||
29 | protected: | |
30 | bool Init(); | |
31 | }; | |
32 | ||
33 | #endif | |
34 | ||
35 | #endif /* _WX_FSWATCHER_OSX_H_ */ |