aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/file.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/file.h b/common/file.h
index 25c51a0afe..8a69318128 100644
--- a/common/file.h
+++ b/common/file.h
@@ -108,10 +108,10 @@ public:
*
* @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);