00001 /* 00002 00003 Copyright (C) 2003 Razvan Cojocaru <razvanco@gmx.net> 00004 00005 This program is free software; you can redistribute it and/or modify 00006 it under the terms of the GNU General Public License as published by 00007 the Free Software Foundation; either version 2 of the License, or 00008 (at your option) any later version. 00009 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with this program; if not, write to the Free Software 00017 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 00018 MA 02110-1301, USA. 00019 00020 */ 00021 00022 00023 #ifndef __CHMFSHANDLER_H_ 00024 #define __CHMFSHANDLER_H_ 00025 00026 00027 #include <wx/filesys.h> 00028 00029 00036 00037 class CHMFSHandler : public wxFileSystemHandler 00038 { 00039 public: 00044 CHMFSHandler(); 00045 00047 ~CHMFSHandler(); 00048 00056 virtual bool CanOpen(const wxString& location); 00057 00064 virtual wxFSFile* OpenFile(wxFileSystem& fs, const wxString& location); 00065 00066 private: 00068 CHMFSHandler(const CHMFSHandler&); 00069 00071 CHMFSHandler& operator=(const CHMFSHandler&); 00072 }; 00073 00074 00075 #endif // __CHMFSHANDLER_H_ 00076 00077 00078 /* 00079 Local Variables: 00080 mode: c++ 00081 c-basic-offset: 8 00082 tab-width: 8 00083 c-indent-comments-syntactically-p: t 00084 c-tab-always-indent: t 00085 indent-tabs-mode: t 00086 End: 00087 */ 00088 00089 // vim:shiftwidth=8:autoindent:tabstop=8:noexpandtab:softtabstop=8 00090