aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/file
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-06-02 02:44:01 +0200
committerEinar Johan Trøan Sømåen2012-06-02 13:09:50 +0200
commit5fde51cd2375c4155ca5117a557bba4188628c16 (patch)
tree16b1b30931a670e6165f930cdac81353364b77c4 /engines/wintermute/Base/file
parent84601ca89ef05807a86b10f6c0412a60c6b079e6 (diff)
downloadscummvm-rg350-5fde51cd2375c4155ca5117a557bba4188628c16.tar.gz
scummvm-rg350-5fde51cd2375c4155ca5117a557bba4188628c16.tar.bz2
scummvm-rg350-5fde51cd2375c4155ca5117a557bba4188628c16.zip
WINTERMUTE: Protect CBFile's private members.
Diffstat (limited to 'engines/wintermute/Base/file')
-rw-r--r--engines/wintermute/Base/file/BFile.h3
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;
};