This commit is contained in:
Glenn Maynard
2004-12-10 13:13:14 +00:00
parent 8915e3944a
commit 47994102b3
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ RageFileObj *MakeFileObjDirect( CString sPath, int mode, int &err )
return new RageFileObjDirect( sPath, fd, mode ); return new RageFileObjDirect( sPath, fd, mode );
} }
RageFileObj *RageFileDriverDirect::Open( const CString &path, int mode, int &err ) RageBasicFile *RageFileDriverDirect::Open( const CString &path, int mode, int &err )
{ {
CString sPath = path; CString sPath = path;
+1 -1
View File
@@ -8,7 +8,7 @@ class RageFileDriverDirect: public RageFileDriver
public: public:
RageFileDriverDirect( CString root ); RageFileDriverDirect( CString root );
RageFileObj *Open( const CString &path, int mode, int &err ); RageBasicFile *Open( const CString &path, int mode, int &err );
bool Remove( const CString &sPath ); bool Remove( const CString &sPath );
bool Ready(); bool Ready();
+1 -1
View File
@@ -117,7 +117,7 @@ RageFileDriverMem::~RageFileDriverMem()
} }
} }
RageFileObj *RageFileDriverMem::Open( const CString &sPath, int mode, int &err ) RageBasicFile *RageFileDriverMem::Open( const CString &sPath, int mode, int &err )
{ {
LockMut(m_Mutex); LockMut(m_Mutex);
+1 -1
View File
@@ -34,7 +34,7 @@ public:
RageFileDriverMem(); RageFileDriverMem();
~RageFileDriverMem(); ~RageFileDriverMem();
RageFileObj *Open( const CString &sPath, int mode, int &err ); RageBasicFile *Open( const CString &sPath, int mode, int &err );
void FlushDirCache( const CString &sPath ) { } void FlushDirCache( const CString &sPath ) { }
bool Remove( const CString &sPath ); bool Remove( const CString &sPath );
+1 -1
View File
@@ -383,7 +383,7 @@ RageFileDriverZip::~RageFileDriverZip()
delete Files[i]; delete Files[i];
} }
RageFileObj *RageFileDriverZip::Open( const CString &path, int mode, int &err ) RageBasicFile *RageFileDriverZip::Open( const CString &path, int mode, int &err )
{ {
if( mode == RageFile::WRITE ) if( mode == RageFile::WRITE )
{ {
+1 -1
View File
@@ -11,7 +11,7 @@ public:
RageFileDriverZip( CString path ); RageFileDriverZip( CString path );
virtual ~RageFileDriverZip(); virtual ~RageFileDriverZip();
RageFileObj *Open( const CString &path, int mode, int &err ); RageBasicFile *Open( const CString &path, int mode, int &err );
void FlushDirCache( const CString &sPath ); void FlushDirCache( const CString &sPath );
private: private: