X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..b448f30e9c884794601cecd87bb136d1edf5bb0f:/include/wx/filesys.h diff --git a/include/wx/filesys.h b/include/wx/filesys.h index b819282152..f648962080 100644 --- a/include/wx/filesys.h +++ b/include/wx/filesys.h @@ -29,6 +29,7 @@ #include "wx/stream.h" #include "wx/url.h" #include "wx/datetime.h" +#include "wx/filename.h" class wxFSFile; class wxFileSystemHandler; @@ -78,6 +79,7 @@ private: wxDateTime m_Modif; DECLARE_ABSTRACT_CLASS(wxFSFile) + DECLARE_NO_COPY_CLASS(wxFSFile) }; @@ -181,10 +183,10 @@ public: static void CleanUpHandlers(); // Returns the native path for a file URL - static wxString URLToNativePath( const wxString& url ); + static wxFileName URLToFileName(const wxString& url); // Returns the file URL for a native path - static wxString NativePathToURL( const wxString& path ); + static wxString FileNameToURL(const wxFileName& filename); protected: @@ -201,6 +203,7 @@ protected: // handler that succeed in FindFirst query DECLARE_DYNAMIC_CLASS(wxFileSystem) + DECLARE_NO_COPY_CLASS(wxFileSystem) };