aboutsummaryrefslogtreecommitdiff
path: root/engines/groovie/stuffit.h
diff options
context:
space:
mode:
authorMatthew Hoops2012-09-09 12:32:34 -0400
committerMatthew Hoops2012-09-09 12:32:34 -0400
commit9780c8e56e01308b1b4c5e97079c0320bb308845 (patch)
tree921f84e67e333e85242d46eb960abd6222d334f3 /engines/groovie/stuffit.h
parent2cb301337a32b09449fe64d43fa1031af3d09454 (diff)
downloadscummvm-rg350-9780c8e56e01308b1b4c5e97079c0320bb308845.tar.gz
scummvm-rg350-9780c8e56e01308b1b4c5e97079c0320bb308845.tar.bz2
scummvm-rg350-9780c8e56e01308b1b4c5e97079c0320bb308845.zip
GROOVIE: Add StuffIt archive code for 11H Mac
Diffstat (limited to 'engines/groovie/stuffit.h')
-rw-r--r--engines/groovie/stuffit.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/engines/groovie/stuffit.h b/engines/groovie/stuffit.h
new file mode 100644
index 0000000000..44f593dbea
--- /dev/null
+++ b/engines/groovie/stuffit.h
@@ -0,0 +1,43 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
+#ifndef GROOVIE_STUFFIT_H
+#define GROOVIE_STUFFIT_H
+
+namespace Common {
+class Archive;
+class String;
+}
+
+namespace Groovie {
+
+/**
+ * This factory method creates an Archive instance corresponding to the content
+ * of the StuffIt compressed file.
+ *
+ * May return 0 in case of a failure.
+ */
+Common::Archive *createStuffItArchive(const Common::String &fileName);
+
+} // End of namespace Groovie
+
+#endif