RioEngine
0.1
My first attempt to create a 3D WYSIWYG Game Engine
|
Interface to overwrite file access in irrKlang. More...
#include <ik_IFileFactory.h>
Public Member Functions | |
virtual | ~IFileFactory () |
virtual IFileReader * | createFileReader (const ik_c8 *filename)=0 |
Opens a file for read access. More... | |
![]() | |
IRefCounted () | |
Constructor. More... | |
virtual | ~IRefCounted () |
Destructor. More... | |
void | grab () |
bool | drop () |
Interface to overwrite file access in irrKlang.
Derive your own class from IFileFactory, overwrite the createFileReader() method and return your own implemented IFileReader to overwrite file access of irrKlang. Use ISoundEngine::addFileFactory() to let irrKlang know about your class. Example code can be found in the tutorial 04.OverrideFileAccess.
Definition at line 20 of file ik_IFileFactory.h.
|
inlinevirtual |
Definition at line 24 of file ik_IFileFactory.h.
|
pure virtual |
Opens a file for read access.
Derive your own class from IFileFactory, overwrite this method and return your own implemented IFileReader to overwrite file access of irrKlang. Use ISoundEngine::addFileFactory() to let irrKlang know about your class. Example code can be found in the tutorial 04.OverrideFileAccess.
filename | Name of file to open. |