]>
Commit | Line | Data |
---|---|---|
5526e819 VS |
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 | ||
8a4df159 RR |
20 | #if wxUSE_FS_ZIP && wxUSE_STREAMS |
21 | ||
22 | ||
5526e819 VS |
23 | #ifndef WXPRECOMP |
24 | #include <wx/wx.h> | |
25 | #endif | |
26 | ||
27 | #include <wx/filesys.h> | |
28 | ||
29 | ||
30 | ||
31 | //-------------------------------------------------------------------------------- | |
32 | // wxZipFSHandler | |
33 | //-------------------------------------------------------------------------------- | |
34 | ||
d674cf6d | 35 | class WXDLLEXPORT wxZipFSHandler : public wxFileSystemHandler |
5526e819 VS |
36 | { |
37 | public: | |
38 | virtual bool CanOpen(const wxString& location); | |
39 | virtual wxFSFile* OpenFile(wxFileSystem& fs, const wxString& location); | |
40 | ~wxZipFSHandler(); | |
41 | }; | |
42 | ||
43 | ||
8a4df159 RR |
44 | #endif |
45 | // wxUSE_FS_ZIP && wxUSE_STREAMS | |
5526e819 | 46 |