All Classes Namespaces Functions Variables Enumerations Properties Pages
qminiz.h
1 /*
2 
3 Pencil2D - Traditional Animation Software
4 Copyright (C) 2012-2020 Matthew Chiawen Chang
5 
6 This program is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public License
8 as published by the Free Software Foundation; version 2 of the License.
9 
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14 
15 */
16 #ifndef QMINIZ_H
17 #define QMINIZ_H
18 
19 #include <QString>
20 #include "pencilerror.h"
21 
22 namespace MiniZ
23 {
24  bool isZip(const QString& sZipFilePath);
25  Status compressFolder(QString zipFilePath, QString srcFolderPath, const QStringList& fileList);
26  Status uncompressFolder(QString zipFilePath, QString destPath);
27 }
28 #endif