Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members

CHMFSHandler Class Reference

CHM filesystem handler class. More...

#include <chmfshandler.h>

Inheritance diagram for CHMFSHandler:

wxFileSystemHandler List of all members.

Public Member Functions

 CHMFSHandler ()
 Doesn't do anything but needs to be here because of the private copy constructor.
 ~CHMFSHandler ()
 Cleanup code. This calls CHMInputStream's Cleanup().
virtual bool CanOpen (const wxString &location)
 Checks if it can open the file passed in location.
virtual wxFSFile * OpenFile (wxFileSystem &fs, const wxString &location)
 Tries to open the file specified.

Private Member Functions

 CHMFSHandler (const CHMFSHandler &)
 No copy construction.
CHMFSHandleroperator= (const CHMFSHandler &)
 No assignment.

Detailed Description

CHM filesystem handler class.


Member Function Documentation

bool CHMFSHandler::CanOpen const wxString &  location  )  [virtual]
 

Checks if it can open the file passed in location.

Parameters:
location File to open.
Returns:
true if location is in the form "file:filename.chm#xchm:/file_inside_archive.extension", false otherwise. Does not attempt to actually open the file.

wxFSFile * CHMFSHandler::OpenFile wxFileSystem &  fs,
const wxString &  location
[virtual]
 

Tries to open the file specified.

Parameters:
fs Currently ignored.
location filename.
Returns:
A valid pointer to a wxFSFile or NULL on failure.


The documentation for this class was generated from the following files:
Generated on Fri Nov 17 12:35:46 2006 for xCHM by  doxygen 1.4.4