Rename wxFileSystemWatcherBase::DoAdd() to AddAny() and make it public.
Make this method public to fix compilation after the recent changes as traverser classes can't call it otherwise (no idea why did it compile with g++). And give it a better name just in case people decide to call it even though it's not documented and described as private in comment (but perhaps we could make it really public later). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -305,6 +305,13 @@ public:
|
||||
m_owner = handler;
|
||||
}
|
||||
|
||||
|
||||
// This is a semi-private function used by wxWidgets itself only.
|
||||
//
|
||||
// Delegates the real work of adding the path to wxFSWatcherImpl::Add() and
|
||||
// updates m_watches if the new path was successfully added.
|
||||
bool AddAny(const wxFileName& path, int events, wxFSWPathType type);
|
||||
|
||||
protected:
|
||||
|
||||
static wxString GetCanonicalPath(const wxFileName& path)
|
||||
@@ -320,10 +327,6 @@ protected:
|
||||
return path_copy.GetFullPath();
|
||||
}
|
||||
|
||||
// Delegates the real work of adding the path to wxFSWatcherImpl::Add() and
|
||||
// updates m_watches if the new path was successfully added.
|
||||
bool DoAdd(const wxFileName& path, int events, wxFSWPathType type);
|
||||
|
||||
|
||||
wxFSWatchInfoMap m_watches; // path=>wxFSWatchInfo map
|
||||
wxFSWatcherImpl* m_service; // file system events service
|
||||
|
Reference in New Issue
Block a user