]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/msw/fswatcher.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[wxWidgets.git] / include / wx / msw / fswatcher.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/msw/fswatcher.h
3// Purpose: wxMSWFileSystemWatcher
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_MSW_H_
11#define _WX_FSWATCHER_MSW_H_
12
13#include "wx/defs.h"
14
15#if wxUSE_FSWATCHER
16
17class WXDLLIMPEXP_BASE wxMSWFileSystemWatcher : public wxFileSystemWatcherBase
18{
19public:
20 wxMSWFileSystemWatcher();
21
22 wxMSWFileSystemWatcher(const wxFileName& path,
23 int events = wxFSW_EVENT_ALL);
24
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);
30
31protected:
32 bool Init();
33};
34
35#endif // wxUSE_FSWATCHER
36
37#endif /* _WX_FSWATCHER_MSW_H_ */