add RageFileDriverSlice::DeleteFileWhenFinished

This commit is contained in:
Glenn Maynard
2004-12-12 04:07:22 +00:00
parent fdf6ad8735
commit ea79ec3e1b
3 changed files with 10 additions and 2 deletions
+3
View File
@@ -13,6 +13,8 @@ public:
~RageFileDriverSlice();
RageFileBasic *Copy() const;
void DeleteFileWhenFinished() { m_bFileOwned = true; }
int ReadInternal( void *pBuffer, size_t iBytes );
int WriteInternal( const void *pBuffer, size_t iBytes ) { SetError( "Not implemented" ); return -1; }
int SeekInternal( int iOffset );
@@ -22,6 +24,7 @@ private:
RageFileBasic *m_pFile;
int m_iFilePos;
int m_iOffset, m_iFileSize;
bool m_bFileOwned;
};
#endif