remove Rewind()

This commit is contained in:
Glenn Maynard
2004-12-09 10:44:07 +00:00
parent c87fd69606
commit 6761eb7a51
3 changed files with 0 additions and 29 deletions
-6
View File
@@ -44,7 +44,6 @@ public:
virtual int Read(void *buffer, size_t bytes);
virtual int Write(const void *buffer, size_t bytes);
virtual int Flush();
virtual void Rewind();
virtual int Seek( int offset );
virtual RageFileObj *Copy( RageFile &p ) const;
virtual CString GetDisplayPath() const { return path; }
@@ -359,11 +358,6 @@ int RageFileObjDirect::Write( const void *buf, size_t bytes )
return bytes;
}
void RageFileObjDirect::Rewind()
{
lseek( fd, 0, SEEK_SET );
}
int RageFileObjDirect::Seek( int offset )
{
return lseek( fd, offset, SEEK_SET );