aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMax Horn2008-12-27 17:09:28 +0000
committerMax Horn2008-12-27 17:09:28 +0000
commitfb5f64b969328e7618b080d59378dfd6dc1bacdc (patch)
treee86436c0fa353938afbbb6f109207f1a73457070 /common
parentc5cabc7b2aba18b12270986a265469f72166b7e0 (diff)
downloadscummvm-rg350-fb5f64b969328e7618b080d59378dfd6dc1bacdc.tar.gz
scummvm-rg350-fb5f64b969328e7618b080d59378dfd6dc1bacdc.tar.bz2
scummvm-rg350-fb5f64b969328e7618b080d59378dfd6dc1bacdc.zip
Clarify ZipArchive constructor usage
svn-id: r35575
Diffstat (limited to 'common')
-rw-r--r--common/unzip.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/common/unzip.h b/common/unzip.h
index 309310ade1..358bf6cbba 100644
--- a/common/unzip.h
+++ b/common/unzip.h
@@ -38,9 +38,23 @@ class ZipArchive : public Archive {
void *_zipFile;
public:
+ /**
+ * Open the .zip archive with the given file name.
+ */
ZipArchive(const String &name);
+
+ /**
+ * Open the .zip archive to which the given FSNode refers to.
+ */
ZipArchive(const FSNode &node);
+
+ /**
+ * Open a .zip file from a stream. This takes ownership of the stream,
+ * in particular, it is closed when the ZipArchive is deleted.
+ */
ZipArchive(SeekableReadStream *stream);
+
+
~ZipArchive();
bool isOpen() const;