aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJordi Vilalta Prat2008-05-27 02:39:51 +0000
committerJordi Vilalta Prat2008-05-27 02:39:51 +0000
commit4306e1e0eb7fd08026df0bf5c02bd4ecce1c2b67 (patch)
treefb9ad82c188748421d44d0393489cbae6ff8a955 /common
parenta6649af56eb51092682a320d39fde199b77f7fc5 (diff)
downloadscummvm-rg350-4306e1e0eb7fd08026df0bf5c02bd4ecce1c2b67.tar.gz
scummvm-rg350-4306e1e0eb7fd08026df0bf5c02bd4ecce1c2b67.tar.bz2
scummvm-rg350-4306e1e0eb7fd08026df0bf5c02bd4ecce1c2b67.zip
Made some methods virtual to allow File subclasses
svn-id: r32311
Diffstat (limited to 'common')
-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);