Implementation of FileInterface to allow libRocket to read files from the virtual file system. More...
#include "rocketFileInterface.h"
Public Member Functions | |
RocketFileInterface (VirtualFileSystem *vfs=nullptr) | |
Constructs a RocketFileInterface for the given VFS, or the default if NULL is given. More... | |
void | Close (Rocket::Core::FileHandle file) |
size_t | Length (Rocket::Core::FileHandle file) |
Rocket::Core::FileHandle | Open (const Rocket::Core::String &path) |
size_t | Read (void *buffer, size_t size, Rocket::Core::FileHandle file) |
bool | Seek (Rocket::Core::FileHandle file, long offset, int origin) |
size_t | Tell (Rocket::Core::FileHandle file) |
Implementation of FileInterface to allow libRocket to read files from the virtual file system.
Definition at line 27 of file rocketFileInterface.h.
RocketFileInterface::RocketFileInterface | ( | VirtualFileSystem * | vfs = nullptr | ) |
Constructs a RocketFileInterface for the given VFS, or the default if NULL is given.
Definition at line 22 of file rocketFileInterface.cxx.