diff options
author | Einar Johan Trøan Sømåen | 2012-06-02 02:44:01 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-02 13:09:50 +0200 |
commit | 5fde51cd2375c4155ca5117a557bba4188628c16 (patch) | |
tree | 16b1b30931a670e6165f930cdac81353364b77c4 | |
parent | 84601ca89ef05807a86b10f6c0412a60c6b079e6 (diff) | |
download | scummvm-rg350-5fde51cd2375c4155ca5117a557bba4188628c16.tar.gz scummvm-rg350-5fde51cd2375c4155ca5117a557bba4188628c16.tar.bz2 scummvm-rg350-5fde51cd2375c4155ca5117a557bba4188628c16.zip |
WINTERMUTE: Protect CBFile's private members.
-rw-r--r-- | engines/wintermute/Base/file/BFile.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/wintermute/Base/file/BFile.h b/engines/wintermute/Base/file/BFile.h index ba20975b46..bfabb9dfb9 100644 --- a/engines/wintermute/Base/file/BFile.h +++ b/engines/wintermute/Base/file/BFile.h @@ -40,9 +40,10 @@ class SeekableReadStream; namespace WinterMute {
class CBFile : public CBBase {
-public:
+protected:
uint32 _pos;
uint32 _size;
+public:
virtual uint32 GetSize() {
return _size;
};
|