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