]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/unix/fswatcher_inotify.h
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / include / wx / unix / fswatcher_inotify.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/unix/fswatcher_inotify.h
3// Purpose: wxInotifyFileSystemWatcher
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_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
28 void OnDirDeleted(const wxString& path);
29
30protected:
31 bool Init();
32};
33
34#endif
35
36#endif /* _WX_FSWATCHER_UNIX_H_ */