42 lines
924 B
C
42 lines
924 B
C
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
// 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
|
||
|
|
||
|
#ifndef WXPRECOMP
|
||
|
#include <wx/wx.h>
|
||
|
#endif
|
||
|
|
||
|
#include <wx/filesys.h>
|
||
|
|
||
|
|
||
|
|
||
|
//--------------------------------------------------------------------------------
|
||
|
// wxZipFSHandler
|
||
|
//--------------------------------------------------------------------------------
|
||
|
|
||
|
class wxZipFSHandler : public wxFileSystemHandler
|
||
|
{
|
||
|
public:
|
||
|
virtual bool CanOpen(const wxString& location);
|
||
|
virtual wxFSFile* OpenFile(wxFileSystem& fs, const wxString& location);
|
||
|
~wxZipFSHandler();
|
||
|
};
|
||
|
|
||
|
|
||
|
|