Add support for CAB archives to rbutil

Change-Id: Ia8b4953343caf8bc2b3c5a6cfd53c921c6d082b1
Reviewed-on: http://gerrit.rockbox.org/418
Reviewed-by: Dominik Riebeling <Dominik.Riebeling@gmail.com>
This commit is contained in:
Amaury Pouly 2013-03-11 18:57:11 +01:00 committed by Dominik Riebeling
parent 289acf3333
commit 6375c47f03
8 changed files with 350 additions and 14 deletions

View file

@ -26,7 +26,7 @@
#include "quazip/quazipfileinfo.h"
ZipUtil::ZipUtil(QObject* parent) : QObject(parent)
ZipUtil::ZipUtil(QObject* parent) : ArchiveUtil(parent)
{
m_zip = NULL;
}
@ -74,7 +74,7 @@ bool ZipUtil::close(void)
//! single file.
//! @brief file file to extract from archive, full archive if empty.
//! @return true on success, false otherwise
bool ZipUtil::extractArchive(QString& dest, QString file)
bool ZipUtil::extractArchive(const QString& dest, QString file)
{
qDebug() << "[ZipUtil] extractArchive" << dest << file;
bool result = true;