diff options
| author | Jordi Vilalta Prat | 2008-05-27 02:39:51 +0000 |
|---|---|---|
| committer | Jordi Vilalta Prat | 2008-05-27 02:39:51 +0000 |
| commit | 4306e1e0eb7fd08026df0bf5c02bd4ecce1c2b67 (patch) | |
| tree | fb9ad82c188748421d44d0393489cbae6ff8a955 /common | |
| parent | a6649af56eb51092682a320d39fde199b77f7fc5 (diff) | |
| download | scummvm-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.h | 6 |
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); |
