Loading...
Searching...
No Matches
Zip.hpp
bool writeZipArchive(const QString &destination, const std::vector< ZipEntry > &entries, int level, QString &error, const ZipProgress &progress)
Write entries into a zip archive at destination.
Definition Zip.cpp:13
std::function< bool(int, int)> ZipProgress
Called with (files written, total). Return false to abort the archive.
Definition Zip.hpp:22
QString nameInArchive
Path it takes inside the archive, always with forward slashes.
Definition Zip.hpp:18
QString sourceFile
Absolute path of the file to read.
Definition Zip.hpp:16