//int err = unz.extractAll("/tmp/"); // TODO: this must be set dynamically
//qDebug() << "extractAll to " << fp << " : " << err;
+ unzipHelper->extractAll(fp, "/tmp/");
+
// TODO: launch the 1st media image in the media image list of ex
// or if emulator command options has a place for more than one
// media image assign the media images in the list order
}
+bool UnzipHelper::extractAll(QString filePath, QString targetPath)
+{
+ // unzip filepath -d targetpath
+ return false;
+}
public:
UnzipHelper(QObject *parent = 0);
QList<MediaImage*> listContents(const QString filePath, const FilePathObject *fp);
+ bool extractAll(QString filePath, QString targetPath);
private:
static const QString UNZIP_COMMAND;
static const QString UNZIP_LIST_ARGS;