]> git.saurik.com Git - wxWidgets.git/blame - include/wx/unix/fswatcher_inotify.h
Define WXBUILDING in Xcode projects.
[wxWidgets.git] / include / wx / unix / fswatcher_inotify.h
CommitLineData
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
18class WXDLLIMPEXP_BASE wxInotifyFileSystemWatcher :
19 public wxFileSystemWatcherBase
20{
21public:
22 wxInotifyFileSystemWatcher();
23
24 wxInotifyFileSystemWatcher(const wxFileName& path,
25 int events = wxFSW_EVENT_ALL);
26
27 virtual ~wxInotifyFileSystemWatcher();
28
20ffcd77
VZ
29 void OnDirDeleted(const wxString& path);
30
6b8ef0b3
VZ
31protected:
32 bool Init();
33};
34
35#endif
36
37#endif /* _WX_FSWATCHER_UNIX_H_ */