1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: ZIP file system
4 // Author: Vaclav Slavik
5 // Copyright: (c) 1999 Vaclav Slavik
6 // Licence: wxWindows Licence
7 /////////////////////////////////////////////////////////////////////////////
11 #pragma implementation
14 #include "wx/wxprec.h"
20 #if wxUSE_FILESYSTEM && wxUSE_FS_ZIP && wxUSE_STREAMS
27 #include "wx/filesys.h"
29 //--------------------------------------------------------------------------------
31 //--------------------------------------------------------------------------------
33 class WXDLLEXPORT wxZipFSHandler
: public wxFileSystemHandler
37 virtual bool CanOpen(const wxString
& location
);
38 virtual wxFSFile
* OpenFile(wxFileSystem
& fs
, const wxString
& location
);
39 virtual wxString
FindFirst(const wxString
& spec
, int flags
= 0);
40 virtual wxString
FindNext();
44 // these vars are used by FindFirst/Next:
46 wxString m_Pattern
, m_BaseDir
, m_ZipFile
;
47 bool m_AllowDirs
, m_AllowFiles
;
54 // wxUSE_FILESYSTEM && wxUSE_FS_ZIP && wxUSE_STREAMS