1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/fswatcher.h
3 // Purpose: wxMSWFileSystemWatcher
4 // Author: Bartosz Bekier
7 // Copyright: (c) 2009 Bartosz Bekier <bartosz.bekier@gmail.com>
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_FSWATCHER_MSW_H_
12 #define _WX_FSWATCHER_MSW_H_
18 class WXDLLIMPEXP_BASE wxMSWFileSystemWatcher
: public wxFileSystemWatcherBase
21 wxMSWFileSystemWatcher();
23 wxMSWFileSystemWatcher(const wxFileName
& path
,
24 int events
= wxFSW_EVENT_ALL
);
26 // Override the base class function to provide a much more efficient
27 // implementation for it using the platform native support for watching the
28 // entire directory trees.
29 virtual bool AddTree(const wxFileName
& path
, int events
= wxFSW_EVENT_ALL
,
30 const wxString
& filter
= wxEmptyString
);
36 #endif // wxUSE_FSWATCHER
38 #endif /* _WX_FSWATCHER_MSW_H_ */