Panda3D
 All Classes Functions Variables Enumerations
Classes | Public Member Functions | List of all members
RocketFileInterface Class Reference

Implementation of FileInterface to allow libRocket to read files from the virtual file system. More...

#include "rocketFileInterface.h"

Inheritance diagram for RocketFileInterface:

Public Member Functions

 RocketFileInterface (VirtualFileSystem *vfs=NULL)
 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)
 

Detailed Description

Implementation of FileInterface to allow libRocket to read files from the virtual file system.

Definition at line 29 of file rocketFileInterface.h.

Constructor & Destructor Documentation

RocketFileInterface::RocketFileInterface ( VirtualFileSystem vfs = NULL)

Constructs a RocketFileInterface for the given VFS, or the default if NULL is given.

Definition at line 25 of file rocketFileInterface.cxx.

References VirtualFileSystem::get_global_ptr().


The documentation for this class was generated from the following files: