X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6b8ef0b35d674bc262eb2005ac1321762c831d31..c92e136d9a2d9919fc747d109610cd4d16c6cc91:/interface/wx/fswatcher.h diff --git a/interface/wx/fswatcher.h b/interface/wx/fswatcher.h index 8de7407bf5..37167c7d75 100644 --- a/interface/wx/fswatcher.h +++ b/interface/wx/fswatcher.h @@ -131,9 +131,11 @@ public: virtual bool RemoveAll(); /** - Returns the number of watched paths + Returns the number of currently watched paths. + + @see GetWatchedPaths() */ - int GetWatchedPathCount() const; + int GetWatchedPathsCount() const; /** Retrieves all watched paths and places them in @a paths. Returns @@ -150,34 +152,6 @@ public: OnChange(), OnWarning() or OnError(). */ void SetOwner(wxEvtHandler* handler); - -protected: - /** - You may either connect your event handler to intercept file system - watcher events or override this member and handle them here. - - Perform whatever action which is to be taken on file system change. - */ - virtual void OnChange(int changeType, const wxFileName& path, - const wxFileName& newPath); - - /** - You may either connect your event handler to intercept file system - watcher events or override this member and handle them here. - - Perform whatever action which is to be taken when a warning condition - arises. - */ - virtual void OnWarning(const wxString& errorMessage); - - /** - You may either connect your event handler to intercept file system - watcher events or override this member and handle them here. - - Perform whatever action which is to be taken when an error condition - arises. - */ - virtual void OnError(const wxString& errorMessage); }; @@ -186,7 +160,7 @@ protected: @class wxFileSystemWatcherEvent A class of events sent when a file system event occurs. Types of events - reported may vary depending on a platfrom, however all platforms report + reported may vary depending on a platform, however all platforms report at least creation of new file/directory and access, modification, move (rename) or deletion of an existing one.