From 15986b81c2f30a52d2b7ebc90ce0eff9fe173443 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 18 May 2010 10:39:08 +0000 Subject: Added getBaseFileName() method and enhanced open() with trying macbinary format in plain files svn-id: r49074 --- common/macresman.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common/macresman.h') 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 -- cgit v1.2.3