]> git.saurik.com Git - wxWidgets.git/blob - include/wx/unix/fswatcher_kqueue.h
Add wxActivateEvent::GetActivationReason().
[wxWidgets.git] / include / wx / unix / fswatcher_kqueue.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/unix/fswatcher_kqueue.h
3 // Purpose: wxKqueueFileSystemWatcher
4 // Author: Bartosz Bekier
5 // Created: 2009-05-26
6 // Copyright: (c) 2009 Bartosz Bekier <bartosz.bekier@gmail.com>
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _WX_FSWATCHER_KQUEUE_H_
11 #define _WX_FSWATCHER_KQUEUE_H_
12
13 #include "wx/defs.h"
14
15 #if wxUSE_FSWATCHER
16
17 class WXDLLIMPEXP_BASE wxKqueueFileSystemWatcher :
18 public wxFileSystemWatcherBase
19 {
20 public:
21 wxKqueueFileSystemWatcher();
22
23 wxKqueueFileSystemWatcher(const wxFileName& path,
24 int events = wxFSW_EVENT_ALL);
25
26 virtual ~wxKqueueFileSystemWatcher();
27
28 protected:
29 bool Init();
30 };
31
32 #endif
33
34 #endif /* _WX_FSWATCHER_OSX_H_ */