]> git.saurik.com Git - wxWidgets.git/blame - include/wx/unix/fswatcher_inotify.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[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
6b8ef0b3
VZ
6// Copyright: (c) 2009 Bartosz Bekier <bartosz.bekier@gmail.com>
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef _WX_FSWATCHER_UNIX_H_
11#define _WX_FSWATCHER_UNIX_H_
12
13#include "wx/defs.h"
14
15#if wxUSE_FSWATCHER
16
17class WXDLLIMPEXP_BASE wxInotifyFileSystemWatcher :
18 public wxFileSystemWatcherBase
19{
20public:
21 wxInotifyFileSystemWatcher();
22
23 wxInotifyFileSystemWatcher(const wxFileName& path,
24 int events = wxFSW_EVENT_ALL);
25
26 virtual ~wxInotifyFileSystemWatcher();
27
20ffcd77
VZ
28 void OnDirDeleted(const wxString& path);
29
6b8ef0b3
VZ
30protected:
31 bool Init();
32};
33
34#endif
35
36#endif /* _WX_FSWATCHER_UNIX_H_ */