X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4683727281b45d366d0351bc35a118021b09e4a2..dac7d53a83c862235ad8f3dfe5706e9af4c1480a:/include/wx/filesys.h diff --git a/include/wx/filesys.h b/include/wx/filesys.h index 06ca7ca97c..b819282152 100644 --- a/include/wx/filesys.h +++ b/include/wx/filesys.h @@ -10,8 +10,8 @@ #ifndef __FILESYS_H__ #define __FILESYS_H__ -#ifdef __GNUG__ -#pragma interface +#if defined(__GNUG__) && !defined(__APPLE__) +#pragma interface "filesys.h" #endif #include "wx/setup.h" @@ -180,6 +180,13 @@ public: // remove all items from the m_Handlers list static void CleanUpHandlers(); + // Returns the native path for a file URL + static wxString URLToNativePath( const wxString& url ); + + // Returns the file URL for a native path + static wxString NativePathToURL( const wxString& path ); + + protected: wxString m_Path; // the path (location) we are currently in