6 #ifndef SWIFT_MISC_COMPRESSUTILS_H
7 #define SWIFT_MISC_COMPRESSUTILS_H
10 #include <QStringList>
26 static QByteArray lengthHeader(qint32 size);
30 static bool zip7Uncompress(
const QString &file,
const QString &directory,
31 QStringList *stdOutAndError =
nullptr);
35 static bool hasZip7(QStringList *stdOutAndError =
nullptr);
39 static bool whichZip7(QStringList *stdOutAndError =
nullptr);
42 static bool runZip7Process(QProcess *zipProcess, QStringList *stdOutAndError);
Free functions in swift::misc.
#define SWIFT_MISC_EXPORT
Export a class or function from the library.