X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..2d97237dac7f35e78f4a1ce1877dafc7b05ffb4f:/include/wx/filesys.h?ds=inline diff --git a/include/wx/filesys.h b/include/wx/filesys.h index ae51b8d7c4..354d940275 100644 --- a/include/wx/filesys.h +++ b/include/wx/filesys.h @@ -181,10 +181,16 @@ public: wxString FindFirst(const wxString& spec, int flags = 0); wxString FindNext(); + // find a file in a list of directories, returns false if not found + bool FindFileInPath(wxString *pStr, const wxChar *path, const wxChar *file); + // Adds FS handler. // In fact, this class is only front-end to the FS handlers :-) static void AddHandler(wxFileSystemHandler *handler); + // Returns true if there is a handler which can open the given location. + static bool HasHandlerForPath(const wxString& location); + // remove all items from the m_Handlers list static void CleanUpHandlers();