Clarify ZipArchive constructor usage

svn-id: r35575
This commit is contained in:
Max Horn 2008-12-27 17:09:28 +00:00
parent c5cabc7b2a
commit fb5f64b969

View File

@ -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;