diff options
Diffstat (limited to 'engines')
-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 |