]> git.saurik.com Git - wxWidgets.git/blame - include/wx/unix/fswatcher_kqueue.h
Don't define __STRICT_ANSI__, we should build both with and without it.
[wxWidgets.git] / include / wx / unix / fswatcher_kqueue.h
CommitLineData
6b8ef0b3
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/unix/fswatcher_kqueue.h
3// Purpose: wxKqueueFileSystemWatcher
4// Author: Bartosz Bekier
5// Created: 2009-05-26
6b8ef0b3
VZ
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
17class WXDLLIMPEXP_BASE wxKqueueFileSystemWatcher :
18 public wxFileSystemWatcherBase
19{
20public:
21 wxKqueueFileSystemWatcher();
22
23 wxKqueueFileSystemWatcher(const wxFileName& path,
24 int events = wxFSW_EVENT_ALL);
25
26 virtual ~wxKqueueFileSystemWatcher();
27
28protected:
29 bool Init();
30};
31
32#endif
33
34#endif /* _WX_FSWATCHER_OSX_H_ */