internalize RageFileObj implementation functions

This commit is contained in:
Glenn Maynard
2004-12-10 03:14:01 +00:00
parent 2bf27c582c
commit e2ea72dbac
5 changed files with 72 additions and 32 deletions
+21
View File
@@ -90,6 +90,27 @@ RageFileDriver *MakeFileDriver( CString Type, CString Root )
return NULL;
}
int RageFileObj::Seek( int iOffset )
{
return SeekInternal( iOffset );
}
int RageFileObj::Read( void *pBuffer, size_t iBytes )
{
return ReadInternal( pBuffer, iBytes );
}
int RageFileObj::Write( const void *pBuffer, size_t iBytes )
{
return WriteInternal( pBuffer, iBytes );
}
int RageFileObj::Flush()
{
return FlushInternal();
}
/*
* Copyright (c) 2003-2004 Glenn Maynard
* All rights reserved.