]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/unix/fswatcher_kqueue.h
Fix wxGTK compilation in wxUSE_MENUS==0 case.
[wxWidgets.git] / include / wx / unix / fswatcher_kqueue.h
... / ...
CommitLineData
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
18class WXDLLIMPEXP_BASE wxKqueueFileSystemWatcher :
19 public wxFileSystemWatcherBase
20{
21public:
22 wxKqueueFileSystemWatcher();
23
24 wxKqueueFileSystemWatcher(const wxFileName& path,
25 int events = wxFSW_EVENT_ALL);
26
27 virtual ~wxKqueueFileSystemWatcher();
28
29protected:
30 bool Init();
31};
32
33#endif
34
35#endif /* _WX_FSWATCHER_OSX_H_ */