]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/fswatcher.h
Increase version to 2.9.5.
[wxWidgets.git] / include / wx / msw / fswatcher.h
CommitLineData
6b8ef0b3
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/msw/fswatcher.h
3// Purpose: wxMSWFileSystemWatcher
4// Author: Bartosz Bekier
5// Created: 2009-05-26
6// RCS-ID: $Id$
7// Copyright: (c) 2009 Bartosz Bekier <bartosz.bekier@gmail.com>
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_FSWATCHER_MSW_H_
12#define _WX_FSWATCHER_MSW_H_
13
14#include "wx/defs.h"
15
16#if wxUSE_FSWATCHER
17
18class WXDLLIMPEXP_BASE wxMSWFileSystemWatcher : public wxFileSystemWatcherBase
19{
20public:
21 wxMSWFileSystemWatcher();
22
23 wxMSWFileSystemWatcher(const wxFileName& path,
24 int events = wxFSW_EVENT_ALL);
25
f8d37148
VZ
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);
31
6b8ef0b3
VZ
32protected:
33 bool Init();
34};
35
36#endif // wxUSE_FSWATCHER
37
38#endif /* _WX_FSWATCHER_MSW_H_ */