1999-07-07 18:04:58 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: fs_zip.h
|
|
|
|
// Purpose: ZIP file system
|
|
|
|
// Author: Vaclav Slavik
|
|
|
|
// Copyright: (c) 1999 Vaclav Slavik
|
|
|
|
// Licence: wxWindows Licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma implementation
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <wx/wxprec.h>
|
|
|
|
|
|
|
|
#ifdef __BORDLANDC__
|
|
|
|
#pragma hdrstop
|
|
|
|
#endif
|
|
|
|
|
1999-07-29 15:52:37 -04:00
|
|
|
#if wxUSE_FS_ZIP && wxUSE_STREAMS
|
|
|
|
|
|
|
|
|
1999-07-07 18:04:58 -04:00
|
|
|
#ifndef WXPRECOMP
|
|
|
|
#include <wx/wx.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <wx/filesys.h>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------------------
|
|
|
|
// wxZipFSHandler
|
|
|
|
//--------------------------------------------------------------------------------
|
|
|
|
|
1999-08-03 19:56:34 -04:00
|
|
|
class WXDLLEXPORT wxZipFSHandler : public wxFileSystemHandler
|
1999-07-07 18:04:58 -04:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual bool CanOpen(const wxString& location);
|
|
|
|
virtual wxFSFile* OpenFile(wxFileSystem& fs, const wxString& location);
|
|
|
|
~wxZipFSHandler();
|
|
|
|
};
|
|
|
|
|
|
|
|
|
1999-07-29 15:52:37 -04:00
|
|
|
#endif
|
|
|
|
// wxUSE_FS_ZIP && wxUSE_STREAMS
|
1999-07-07 18:04:58 -04:00
|
|
|
|