X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0004982c831f56c65c390fb617711ff52595c2f3..6362d82b3ed82aa6795e4ad03160820f94c9e4d4:/interface/wx/filesys.h diff --git a/interface/wx/filesys.h b/interface/wx/filesys.h index 35f6324ece..80accecb76 100644 --- a/interface/wx/filesys.h +++ b/interface/wx/filesys.h @@ -100,14 +100,14 @@ public: If the file is found in any directory, returns @true and the full path of the file in @a str, otherwise returns @false and doesn't modify @a str. - @param str + @param pStr Receives the full path of the file, must not be @NULL @param path wxPATH_SEP-separated list of directories @param file the name of the file to look for */ - bool FindFileInPath(wxString str, const wxString& path, + bool FindFileInPath(wxString* pStr, const wxString& path, const wxString& file); /** @@ -227,10 +227,8 @@ public: @param modif Modification date and time for this file. */ - wxFSFile(wxInputStream stream, - const wxString& location, - const wxString& mimetype, - const wxString& anchor, + wxFSFile(wxInputStream* stream, const wxString& location, + const wxString& mimetype, const wxString& anchor, wxDateTime modif); /** @@ -240,7 +238,7 @@ public: You will have to delete the stream yourself. */ - void DetachStream(); + wxInputStream* DetachStream(); /** Returns anchor (if present). The term of @b anchor can be easily @@ -358,7 +356,7 @@ public: Must be overridden in derived handlers. */ - virtual bool CanOpen(const wxString& location); + virtual bool CanOpen(const wxString& location) = 0; /** Works like ::wxFindFirstFile(). @@ -445,7 +443,6 @@ public: @param location The absolute location of file. */ - virtual wxFSFile* OpenFile(wxFileSystem& fs, - const wxString& location); + virtual wxFSFile* OpenFile(wxFileSystem& fs, const wxString& location) = 0; };