#include <cstddef>
#include "generic/constant.h"
#include "generic/callbackfwd.h"
#include <string>
#include "modulesystem.h"
Go to the source code of this file.
Data Structures | |
class | VirtualFileSystem |
The Virtual File System. More... | |
Defines | |
#define | INCLUDED_IFILESYSTEM_H |
Typedefs | |
typedef Callback1< const char * > | ArchiveNameCallback |
typedef Callback1< const char * > | FileNameCallback |
typedef struct _GSList | GSList |
typedef GlobalModule < VirtualFileSystem > | GlobalFileSystemModule |
typedef GlobalModuleRef < VirtualFileSystem > | GlobalFileSystemModuleRef |
Functions | |
VirtualFileSystem & | GlobalFileSystem () |
int | vfsLoadFile (const std::string &filename, void **buffer, int index=0) |
void | vfsFreeFile (void *p) |
#define INCLUDED_IFILESYSTEM_H |
Definition at line 23 of file ifilesystem.h.
typedef Callback1<const char*> ArchiveNameCallback |
Definition at line 30 of file ifilesystem.h.
typedef Callback1<const char*> FileNameCallback |
Definition at line 31 of file ifilesystem.h.
typedef GlobalModule<VirtualFileSystem> GlobalFileSystemModule |
Definition at line 104 of file ifilesystem.h.
typedef GlobalModuleRef<VirtualFileSystem> GlobalFileSystemModuleRef |
Definition at line 108 of file ifilesystem.h.
typedef struct _GSList GSList |
Definition at line 39 of file ifilesystem.h.
VirtualFileSystem& GlobalFileSystem | ( | ) | [inline] |
Definition at line 111 of file ifilesystem.h.
Referenced by vfsFreeFile(), and vfsLoadFile().
void vfsFreeFile | ( | void * | p | ) | [inline] |
Definition at line 123 of file ifilesystem.h.
References VirtualFileSystem::freeFile(), and GlobalFileSystem().
int vfsLoadFile | ( | const std::string & | filename, | |
void ** | buffer, | |||
int | index = 0 | |||
) | [inline] |
openFile
. Definition at line 117 of file ifilesystem.h.
References GlobalFileSystem(), and VirtualFileSystem::loadFile().