#include <filemanager.h>
Public Methods | |
| FileManager () | |
| FileManager constructor. | |
| virtual | ~FileManager () |
| FileManager destructor. | |
| void | addDir (const char *dir) |
| Add a directory to the search list. | |
| void | remove (const char *filename) |
| Remove a file or a directory in the virtual filesystem. | |
| FILE * | openFP (const char *filename, const char *mode, bool verboseIfNotFound=true) |
| Look for a file called 'filename' and then call fopen() with the given mode. | |
Private Methods | |
| void | clearDirList (void) |
| clear the list of directory. | |
| FILE * | openWithbackupFP (const char *filename, const char *mode) |
| open a file, if it is in writing, do a backup, fopen version. | |
Private Attributes | |
| std::vector< const char * > | dirList |
| List of directory where to search for requested file. | |
| int | dirListIndexCache |
| Last index in dir list, accelerate loading. | |
Definition at line 32 of file filemanager.h.
1.2.15