vc fix?
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|
||||||
|
|||||||
@@ -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 );
|
||||||
|
|||||||
@@ -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 )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user