aboutsummaryrefslogtreecommitdiff
path: root/common/macresman.h
diff options
context:
space:
mode:
authorEugene Sandulenko2010-05-18 10:39:08 +0000
committerEugene Sandulenko2010-05-18 10:39:08 +0000
commit15986b81c2f30a52d2b7ebc90ce0eff9fe173443 (patch)
treef21a52044ce7d1b4522e8f19f29ddb15464f8de1 /common/macresman.h
parent7ab8f6e25bb4904140116c4a484b5a23c44d6bf5 (diff)
downloadscummvm-rg350-15986b81c2f30a52d2b7ebc90ce0eff9fe173443.tar.gz
scummvm-rg350-15986b81c2f30a52d2b7ebc90ce0eff9fe173443.tar.bz2
scummvm-rg350-15986b81c2f30a52d2b7ebc90ce0eff9fe173443.zip
Added getBaseFileName() method and enhanced open() with trying macbinary format in plain files
svn-id: r49074
Diffstat (limited to 'common/macresman.h')
-rw-r--r--common/macresman.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/macresman.h b/common/macresman.h
index f98bc81bf1..613c26625b 100644
--- a/common/macresman.h
+++ b/common/macresman.h
@@ -53,6 +53,8 @@ public:
bool hasDataFork();
bool hasResFork();
+ bool isMacBinary(Common::SeekableReadStream &stream);
+
/**
* Read resource from the Mac Binary file
* @param typeID FourCC with type ID
@@ -72,6 +74,8 @@ public:
Common::String getResName(uint32 typeID, uint16 resID);
uint32 getResForkSize();
bool getResForkMD5(char *md5str, uint32 length);
+
+ Common::String getBaseFileName() { return _baseFileName; }
/**
* Convert cursor from crsr format to format suitable for feeding to CursorMan