[Scummvm-cvs-logs] SF.net SVN: scummvm: [32311] scummvm/trunk/common/file.h
jvprat at users.sourceforge.net
jvprat at users.sourceforge.net
Tue May 27 04:39:51 CEST 2008
Revision: 32311
http://scummvm.svn.sourceforge.net/scummvm/?rev=32311&view=rev
Author: jvprat
Date: 2008-05-26 19:39:51 -0700 (Mon, 26 May 2008)
Log Message:
-----------
Made some methods virtual to allow File subclasses
Modified Paths:
--------------
scummvm/trunk/common/file.h
Modified: scummvm/trunk/common/file.h
===================================================================
--- scummvm/trunk/common/file.h 2008-05-27 00:03:29 UTC (rev 32310)
+++ scummvm/trunk/common/file.h 2008-05-27 02:39:51 UTC (rev 32311)
@@ -108,10 +108,10 @@
*
* @return: true if the end of file is reached, false otherwise.
*/
- bool eof() const;
+ virtual bool eof() const;
- uint32 pos() const;
- uint32 size() const;
+ virtual uint32 pos() const;
+ virtual uint32 size() const;
void seek(int32 offs, int whence = SEEK_SET);
uint32 read(void *dataPtr, uint32 dataSize);
uint32 write(const void *dataPtr, uint32 dataSize);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list