#include <directoryprovider.h>


Public Member Functions | |
| virtual bool | isReadable (const std::string &path) const |
| virtual VFSSource * | createSource (const std::string &path) const |
Provider for OS directories.
Definition at line 42 of file directoryprovider.h.
| FIFE::VFSSource * FIFE::DirectoryProvider::createSource | ( | const std::string & | path | ) | const [virtual] |
Create a new instance of a VFSSource initialized with the given directory This will only pass if the path is readable and recognized as a directory as per the description of isReadable
| path | the directory to open |
Implements FIFE::VFSSourceProvider.
Definition at line 41 of file directoryprovider.cpp.
References isReadable().
| bool FIFE::DirectoryProvider::isReadable | ( | const std::string & | path | ) | const [virtual] |
Check if a given directory is readable. The path must either be an absolute path or relative to the current working directory where the client was launched
| path | the filename to check |
Implements FIFE::VFSSourceProvider.
Definition at line 37 of file directoryprovider.cpp.
Referenced by createSource().

1.7.1