csVfsDirectoryChanger Class Reference
Helper class to change the current VFS directory and restore the previous directory when an instance goes out of scope. More...
|void||ChangeTo (const char *filename)|
|Change to the directory filename is in. |
|csVfsDirectoryChanger (iVFS *vfs)|
|Create instance. |
|Just pushes the current directory, but doesn't change it in anyway - useful when you want to call ChDir() or ChDirAuto() manually for some reason, but still want to have the current directory restored automatically. |
|Destroy instance. Restores the old directory if ChangeTo() was called. |
Helper class to change the current VFS directory and restore the previous directory when an instance goes out of scope.
Constructor & Destructor Documentation
Member Function Documentation
|void csVfsDirectoryChanger::ChangeTo||(||const char *||filename||)||
The documentation for this class was generated from the following file:
Generated for Crystal Space 1.4.1 by doxygen 1.7.1