fs_wxz.h

00001 
00002 // Name:        fs_wxz.h
00003 // Purpose:     wxWxzFSHandler definition
00004 // Author:      Francesco Montorsi
00005 // Modified by:
00006 // Created:     2007-1-17
00007 // RCS-ID:      $Id: fs_wxz.h,v 1.1 2007/01/18 00:01:28 frm Exp $
00008 // Copyright:   (c) Francesco Montorsi
00009 // Licence:     wxWidgets licence
00011 
00012 #ifndef _WXZ_FSHANDLER_H_
00013 #define _WXZ_FSHANDLER_H_
00014 
00015 // Includes
00016 #include "wx/filesys.h"
00017 
00018 
00019 // ----------------------------------------------------------------------------
00020 // wxWxzFSHandler
00021 // ----------------------------------------------------------------------------
00022 
00023 class wxWxzFSHandler : public wxFileSystemHandler
00024 {
00025 public:
00026     wxWxzFSHandler() {}
00027     //virtual ~wxArchiveFSHandler();
00028 
00029     virtual bool CanOpen(const wxString& location);
00030     virtual wxFSFile* OpenFile(wxFileSystem& fs, const wxString& location);
00031     virtual wxString FindFirst(const wxString& spec, int flags = 0);
00032     virtual wxString FindNext();
00033 
00034 private:
00035     /*
00036     class wxArchiveFSCache *m_cache;
00037     wxFileSystem m_fs;
00038 
00039     // these vars are used by FindFirst/Next:
00040     class wxArchiveFSCacheData *m_Archive;
00041     struct wxArchiveFSEntry *m_FindEntry;
00042     wxString m_Pattern, m_BaseDir, m_ZipFile;
00043     bool m_AllowDirs, m_AllowFiles;
00044     wxArchiveFilenameHashMap *m_DirsFound;
00045 
00046     wxString DoFind();*/
00047 
00048     DECLARE_NO_COPY_CLASS(wxWxzFSHandler)
00049     DECLARE_DYNAMIC_CLASS(wxWxzFSHandler)
00050 };
00051 
00052 #endif      // _WXZ_FSHANDLER_H_
00053 

Generated on Thu Feb 1 22:14:31 2007 for wxWidgets Package Manager by  doxygen 1.5.1-p1