From 3b9b89a78bf65db18bdc6d0c3a1268c892d3db2c Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sun, 11 Sep 2011 15:07:56 +0200 Subject: CGE: Talk now uses EncryptedStream. Clean up of EncryptedStream --- engines/cge/fileio.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'engines/cge/fileio.h') diff --git a/engines/cge/fileio.h b/engines/cge/fileio.h index 68b9a26d76..1f0756a276 100644 --- a/engines/cge/fileio.h +++ b/engines/cge/fileio.h @@ -148,11 +148,16 @@ public: }; class EncryptedStream { -public: +private: + Common::SeekableReadStream *_readStream; bool _error; +public: EncryptedStream(const char *name); ~EncryptedStream(); - Common::SeekableReadStream *_readStream; + bool err(); + bool eos(); + uint32 read(void *dataPtr, uint32 dataSize); + Common::String readLine(); }; extern CFile *_dat; -- cgit v1.2.3