]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: fs_zip.h | |
3 | // Purpose: ZIP file system | |
4 | // Author: Vaclav Slavik | |
5 | // Copyright: (c) 1999 Vaclav Slavik | |
6 | // Licence: wxWindows Licence | |
7 | ///////////////////////////////////////////////////////////////////////////// | |
8 | ||
9 | ||
10 | #ifdef __GNUG__ | |
11 | #pragma implementation | |
12 | #endif | |
13 | ||
14 | #include "wx/wxprec.h" | |
15 | ||
16 | #ifdef __BORDLANDC__ | |
17 | #pragma hdrstop | |
18 | #endif | |
19 | ||
20 | #if wxUSE_FS_ZIP && wxUSE_STREAMS | |
21 | ||
22 | ||
23 | #ifndef WXPRECOMP | |
24 | #include "wx/wx.h" | |
25 | #endif | |
26 | ||
27 | #include "wx/filesys.h" | |
28 | ||
29 | //-------------------------------------------------------------------------------- | |
30 | // wxZipFSHandler | |
31 | //-------------------------------------------------------------------------------- | |
32 | ||
33 | class WXDLLEXPORT wxZipFSHandler : public wxFileSystemHandler | |
34 | { | |
35 | public: | |
36 | virtual bool CanOpen(const wxString& location); | |
37 | virtual wxFSFile* OpenFile(wxFileSystem& fs, const wxString& location); | |
38 | ~wxZipFSHandler(); | |
39 | }; | |
40 | ||
41 | ||
42 | #endif | |
43 | // wxUSE_FS_ZIP && wxUSE_STREAMS | |
44 |