Files
itgmania212121/stepmania/src/RageFileDriverDirect.h
T
Glenn Maynard 20792a51bb Write files in such a way that a program crash, system crash, powerdown,
etc. won't cause data loss if we're running on a journalling filesystem.
2003-12-21 07:23:29 +00:00

20 lines
363 B
C++

#ifndef RAGE_FILE_DRIVER_DIRECT_H
#define RAGE_FILE_DRIVER_DIRECT_H
#include "RageFileDriver.h"
class RageFileDriverDirect: public RageFileDriver
{
public:
RageFileDriverDirect( CString root );
RageFileObj *Open( const CString &path, int mode, RageFile &p, int &err );
bool Remove( const CString &sPath );
bool Ready();
private:
CString root;
};
#endif