MythTV  master
unziputil.h
Go to the documentation of this file.
1 #ifndef UNZIPUTIL_H_
2 #define UNZIPUTIL_H_
3 
4 #include <QByteArray>
5 #include <QString>
6 
7 #include "mythbaseexp.h"
8 
9 MBASE_PUBLIC bool extractZIP(QString zipFile, const QString& outDir);
10 
11 MBASE_PUBLIC bool gzipFile(const QString &inFilename, const QString &zipFilename);
12 MBASE_PUBLIC bool gunzipFile(const QString &zipFilename, const QString &outFilename);
13 
14 MBASE_PUBLIC QByteArray gzipCompress(const QByteArray &data);
15 MBASE_PUBLIC QByteArray gzipUncompress(const QByteArray &data);
16 
17 #endif // UNZIPUTIL_H_
extractZIP
MBASE_PUBLIC bool extractZIP(QString zipFile, const QString &outDir)
Definition: unziputil.cpp:17
gunzipFile
MBASE_PUBLIC bool gunzipFile(const QString &zipFilename, const QString &outFilename)
Definition: unziputil.cpp:58
mythbaseexp.h
MBASE_PUBLIC
#define MBASE_PUBLIC
Definition: mythbaseexp.h:15
gzipUncompress
MBASE_PUBLIC QByteArray gzipUncompress(const QByteArray &data)
Definition: unziputil.cpp:150
gzipCompress
MBASE_PUBLIC QByteArray gzipCompress(const QByteArray &data)
Definition: unziputil.cpp:93
gzipFile
MBASE_PUBLIC bool gzipFile(const QString &inFilename, const QString &zipFilename)
Definition: unziputil.cpp:23