X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f31f9900e472941fbb9635d7e531bbbecb654249..9e9574fe45b176ee74bba8fad7574cf9906145d1:/interface/wx/fswatcher.h?ds=sidebyside diff --git a/interface/wx/fswatcher.h b/interface/wx/fswatcher.h index b2981a0e5b..c89ae09c51 100644 --- a/interface/wx/fswatcher.h +++ b/interface/wx/fswatcher.h @@ -3,7 +3,6 @@ // Purpose: wxFileSystemWatcher // Author: Bartosz Bekier // Created: 2009-05-23 -// RCS-ID: $Id$ // Copyright: (c) 2009 Bartosz Bekier // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -157,7 +156,7 @@ public: class wxFileSystemWatcherEvent : public wxEvent { public: - wxFileSystemWatcherEvent(int changeType, int watchid = wxID_ANY); + wxFileSystemWatcherEvent(int changeType = 0, int watchid = wxID_ANY); wxFileSystemWatcherEvent(int changeType, const wxString& errorMsg, int watchid = wxID_ANY); wxFileSystemWatcherEvent(int changeType, @@ -257,6 +256,18 @@ enum wxFSWFlags */ wxFSW_EVENT_ATTRIB = 0x20, + /** + The file system containing a watched item was unmounted. + + wxFSW_EVENT_UNMOUNT cannot be set; unmount events are produced automatically. This flag + is therefore not included in wxFSW_EVENT_ALL. + + This event is currently only detected under Linux. + + @since 2.9.5 + */ + wxFSW_EVENT_UNMOUNT = 0x2000, + /** A warning condition arose.