diff options
author | Vladimir Menshakov | 2010-03-20 12:18:56 +0000 |
---|---|---|
committer | Vladimir Menshakov | 2010-03-20 12:18:56 +0000 |
commit | 8f30fa1a6cad5c03ff8fc6476357994592ec8d25 (patch) | |
tree | 3cdc393f19f50b0b054a1ca2c10732d05bcf9116 /engines/teenagent | |
parent | a5c66b64f53332bc5245f167efb37392d392a3ee (diff) | |
download | scummvm-rg350-8f30fa1a6cad5c03ff8fc6476357994592ec8d25.tar.gz scummvm-rg350-8f30fa1a6cad5c03ff8fc6476357994592ec8d25.tar.bz2 scummvm-rg350-8f30fa1a6cad5c03ff8fc6476357994592ec8d25.zip |
marked all methods with virtual
svn-id: r48309
Diffstat (limited to 'engines/teenagent')
-rw-r--r-- | engines/teenagent/pack.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/engines/teenagent/pack.h b/engines/teenagent/pack.h index 221f6e9c90..6c51782b37 100644 --- a/engines/teenagent/pack.h +++ b/engines/teenagent/pack.h @@ -54,12 +54,12 @@ public: FilePack(); ~FilePack(); - bool open(const Common::String &filename); - void close(); + virtual bool open(const Common::String &filename); + virtual void close(); - uint32 getSize(uint32 id) const; - uint32 read(uint32 id, byte *dst, uint32 size) const; - Common::SeekableReadStream *getStream(uint32 id) const; + virtual uint32 getSize(uint32 id) const; + virtual uint32 read(uint32 id, byte *dst, uint32 size) const; + virtual Common::SeekableReadStream *getStream(uint32 id) const; }; class MemoryPack : public Pack { @@ -79,12 +79,12 @@ class MemoryPack : public Pack { Common::Array<Chunk> chunks; public: - bool open(const Common::String &filename); - void close(); + virtual bool open(const Common::String &filename); + virtual void close(); - uint32 getSize(uint32 id) const; - uint32 read(uint32 id, byte *dst, uint32 size) const; - Common::SeekableReadStream *getStream(uint32 id) const; + virtual uint32 getSize(uint32 id) const; + virtual uint32 read(uint32 id, byte *dst, uint32 size) const; + virtual Common::SeekableReadStream *getStream(uint32 id) const; }; } // End of namespace TeenAgent |