[Scummvm-cvs-logs] SF.net SVN: scummvm:[35575] scummvm/trunk/common/unzip.h
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sat Dec 27 18:09:29 CET 2008
Revision: 35575
http://scummvm.svn.sourceforge.net/scummvm/?rev=35575&view=rev
Author: fingolfin
Date: 2008-12-27 17:09:28 +0000 (Sat, 27 Dec 2008)
Log Message:
-----------
Clarify ZipArchive constructor usage
Modified Paths:
--------------
scummvm/trunk/common/unzip.h
Modified: scummvm/trunk/common/unzip.h
===================================================================
--- scummvm/trunk/common/unzip.h 2008-12-27 16:09:08 UTC (rev 35574)
+++ scummvm/trunk/common/unzip.h 2008-12-27 17:09:28 UTC (rev 35575)
@@ -38,9 +38,23 @@
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;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list