X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d674cf6dc3493e154ac9600f811318b85730e020..0a976765870f164048378a054af1b8904f2ecdb1:/include/wx/fs_zip.h diff --git a/include/wx/fs_zip.h b/include/wx/fs_zip.h index f891349cbf..53d866fd81 100644 --- a/include/wx/fs_zip.h +++ b/include/wx/fs_zip.h @@ -11,7 +11,7 @@ #pragma implementation #endif -#include +#include "wx/wxprec.h" #ifdef __BORDLANDC__ #pragma hdrstop @@ -21,12 +21,10 @@ #ifndef WXPRECOMP -#include +#include "wx/wx.h" #endif -#include - - +#include "wx/filesys.h" //-------------------------------------------------------------------------------- // wxZipFSHandler @@ -35,9 +33,20 @@ class WXDLLEXPORT wxZipFSHandler : public wxFileSystemHandler { public: + wxZipFSHandler(); virtual bool CanOpen(const wxString& location); virtual wxFSFile* OpenFile(wxFileSystem& fs, const wxString& location); + virtual wxString FindFirst(const wxString& spec, int flags = 0); + virtual wxString FindNext(); ~wxZipFSHandler(); + + private: + // these vars are used by FindFirst/Next: + void *m_Archive; + wxString m_Pattern, m_BaseDir, m_ZipFile; + bool m_AllowDirs, m_AllowFiles; + + wxString DoFind(); };