More stagnation.
[dorian] / model / extractzip.h
index f5a3de3..872844d 100644 (file)
@@ -2,7 +2,17 @@
 #define EXTRACTZIP_H
 
 class QString;
+class QStringList;
 
-bool extractZip(const QString &path);
+/**
+ * Extract files from a ZIP archive.
+ *
+ * @param   path                ZIP file path.
+ * @param   excludedExtensions  Files in the ZIP with matching extensions will
+ *                              not be extracted. Items in this list are case
+ *                              insensitive, and start with ".".
+ * @return  True (succes) or false (failure).
+ */
+bool extractZip(const QString &path, const QStringList &excludedExtensions);
 
 #endif // EXTRACTZIP_H