aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/fileio.h
diff options
context:
space:
mode:
authorStrangerke2011-09-11 15:07:56 +0200
committerStrangerke2011-09-11 15:07:56 +0200
commit3b9b89a78bf65db18bdc6d0c3a1268c892d3db2c (patch)
treed08faa34c3730d2bb234386ccf33075e9d297612 /engines/cge/fileio.h
parentcdba3ac108940e141901f021da890e2ddbda70f0 (diff)
downloadscummvm-rg350-3b9b89a78bf65db18bdc6d0c3a1268c892d3db2c.tar.gz
scummvm-rg350-3b9b89a78bf65db18bdc6d0c3a1268c892d3db2c.tar.bz2
scummvm-rg350-3b9b89a78bf65db18bdc6d0c3a1268c892d3db2c.zip
CGE: Talk now uses EncryptedStream. Clean up of EncryptedStream
Diffstat (limited to 'engines/cge/fileio.h')
-rw-r--r--engines/cge/fileio.h9
1 files changed, 7 insertions, 2 deletions
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;