aboutsummaryrefslogtreecommitdiff
path: root/common/unarj.h
diff options
context:
space:
mode:
authorMax Horn2008-11-07 09:50:51 +0000
committerMax Horn2008-11-07 09:50:51 +0000
commit81431f18cd620c521c7b880d6c8b41279721bafb (patch)
tree3793569cae34030607131b83c33284d291224b41 /common/unarj.h
parent060aa5b002a7c1808e6e54ab5585a40a18c5a0b4 (diff)
downloadscummvm-rg350-81431f18cd620c521c7b880d6c8b41279721bafb.tar.gz
scummvm-rg350-81431f18cd620c521c7b880d6c8b41279721bafb.tar.bz2
scummvm-rg350-81431f18cd620c521c7b880d6c8b41279721bafb.zip
Refactoring the Arj decoder code, phase 2
svn-id: r34923
Diffstat (limited to 'common/unarj.h')
-rw-r--r--common/unarj.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/common/unarj.h b/common/unarj.h
index 4e9750609e..f3473a6d79 100644
--- a/common/unarj.h
+++ b/common/unarj.h
@@ -53,7 +53,7 @@ public:
int32 pos() const;
int32 size() const;
bool seek(int32 offset, int whence = SEEK_SET);
- bool isOpen() { return _isOpen; }
+ bool isOpen() { return _uncompressed != 0; }
private:
bool _fallBack;
@@ -63,11 +63,8 @@ private:
ArjFilesMap _fileMap;
StringMap _archMap;
- byte *_uncompressedData;
SeekableReadStream *_uncompressed;
- bool _isOpen;
-
ArjDecoder *_decoder;
};