Pencil2D Animation
Download
Community
News
Docs
Contribute
Overview
Articles
Code
Class List
Class Index
Class Hierarchy
Class Members
File List
Loading...
Searching...
No Matches
core_lib
src
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 "miniz.h"
21
#include "pencilerror.h"
22
23
namespace
MiniZ
24
{
25
Status
sanityCheck(
const
QString
& sZipFilePath);
26
size_t
istreamReadCallback(
void
*pOpaque, mz_uint64 file_ofs,
void
* pBuf,
size_t
n);
27
Status
compressFolder(
QString
zipFilePath,
QString
srcFolderPath,
const
QStringList
& fileList,
QString
mimetype);
28
Status
uncompressFolder(
QString
zipFilePath,
QString
destPath);
29
}
30
#endif
Status
Definition:
pencilerror.h:40
QString
QStringList