mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
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:
parent
289acf3333
commit
6375c47f03
8 changed files with 350 additions and 14 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue