X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/adaaa68635b4c8a4d8c5284add40366ea3eefb07..8ed522d9aa0cc52a760a872860b622134b505e8c:/interface/wx/filesys.h diff --git a/interface/wx/filesys.h b/interface/wx/filesys.h index 25688dbd2a..a61f76362c 100644 --- a/interface/wx/filesys.h +++ b/interface/wx/filesys.h @@ -224,10 +224,12 @@ public: not be empty in this case). @param anchor Anchor. See GetAnchor() for details. + @param modif + Modification date and time for this file. */ - wxFSFile(wxInputStream stream, const wxString& loc, - const wxString& mimetype, - const wxString& anchor, wxDateTime modif); + wxFSFile(wxInputStream* stream, const wxString& location, + const wxString& mimetype, const wxString& anchor, + wxDateTime modif); /** Detaches the stream from the wxFSFile object. That is, the @@ -354,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(). @@ -387,7 +389,7 @@ public: @note the anchor is NOT part of the left location. */ - wxString GetAnchor(const wxString& location) const; + static wxString GetAnchor(const wxString& location); /** Returns the left location string extracted from @e location. @@ -397,7 +399,7 @@ public: GetLeftLocation("file:myzipfile.zip#zip:index.htm") == "file:myzipfile.zip" @endcode */ - wxString GetLeftLocation(const wxString& location) const; + static wxString GetLeftLocation(const wxString& location); /** Returns the MIME type based on @b extension of @a location. @@ -419,7 +421,7 @@ public: GetProtocol("file:myzipfile.zip#zip:index.htm") == "zip" @endcode */ - wxString GetProtocol(const wxString& location) const; + static wxString GetProtocol(const wxString& location); /** Returns the right location string extracted from @a location. @@ -429,7 +431,7 @@ public: GetRightLocation("file:myzipfile.zip#zip:index.htm") == "index.htm" @endcode */ - wxString GetRightLocation(const wxString& location) const; + static wxString GetRightLocation(const wxString& location); /** Opens the file and returns wxFSFile pointer or @NULL if failed.