FIFE
2008.0
|
#include <zipprovider.h>
Public Member Functions | |
bool | isReadable (const std::string &file) const |
VFSSource * | createSource (const std::string &file) const |
A VFS provider for Zip archives.
Definition at line 42 of file zipprovider.h.
FIFE::VFSSource * FIFE::ZipProvider::createSource | ( | const std::string & | file | ) | const [virtual] |
Create a new instance of a VFSSource initialized with the given file
file | the filename to open (the archive-file) |
Implements FIFE::VFSSourceProvider.
Definition at line 54 of file zipprovider.cpp.
References isReadable().
bool FIFE::ZipProvider::isReadable | ( | const std::string & | file | ) | const [virtual] |
Check if a given file is readable for this VFSSource
file | the filename to check |
Implements FIFE::VFSSourceProvider.
Definition at line 38 of file zipprovider.cpp.
References FIFE::VFS::exists().
Referenced by createSource().