ifilesystem.h File Reference

#include <cstddef>
#include "generic/constant.h"
#include "generic/callbackfwd.h"
#include <string>
#include "modulesystem.h"
Include dependency graph for ifilesystem.h:
This graph shows which files directly or indirectly include this file:

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

VirtualFileSystemGlobalFileSystem ()
int vfsLoadFile (const std::string &filename, void **buffer, int index=0)
void vfsFreeFile (void *p)

Define Documentation

#define INCLUDED_IFILESYSTEM_H

Definition at line 23 of file ifilesystem.h.


Typedef Documentation

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.

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.


Function Documentation

VirtualFileSystem& GlobalFileSystem (  )  [inline]

Definition at line 111 of file ifilesystem.h.

Referenced by vfsFreeFile(), and vfsLoadFile().

void vfsFreeFile ( void *  p  )  [inline]
Deprecated:
Deprecated.

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]
Deprecated:
Use openFile.

Definition at line 117 of file ifilesystem.h.

References GlobalFileSystem(), and VirtualFileSystem::loadFile().


Generated by  doxygen 1.6.2