This commit is contained in:
Glenn Maynard
2003-12-04 08:25:59 +00:00
parent 78c96b7cad
commit ea0ba6fcb9
9 changed files with 761 additions and 81 deletions
+21
View File
@@ -0,0 +1,21 @@
#ifndef RAGE_FILE_DRIVER_DIRECT_H
#define RAGE_FILE_DRIVER_DIRECT_H
#include "RageFileDriver.h"
class RageFileDriverDirect: public RageFileDriver
{
public:
RageFileDriverDirect( CString root );
virtual ~RageFileDriverDirect() { }
RageFileObj *Open( CString path, RageFile::OpenMode mode, RageFile &p, int &err );
RageFileManager::FileType GetFileType( CString sPath );
int GetFileSizeInBytes( CString sFilePath );
int GetFileModTime( CString sPath );
private:
CString root;
};
#endif