summaryrefslogtreecommitdiffstats
path: root/heimdall-frontend/source/Packaging.h
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2015-03-11 18:01:41 +0100
committerBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2015-03-11 18:09:40 +0100
commit7c6ee7f1a24faeafc793414e877bf014743d9cfe (patch)
tree805b7839234bae16eeac75f33c471e7ee22f0c0f /heimdall-frontend/source/Packaging.h
parentLots of Frontend refactoring with a few bug fixes (diff)
downloadHeimdall-7c6ee7f1a24faeafc793414e877bf014743d9cfe.tar
Heimdall-7c6ee7f1a24faeafc793414e877bf014743d9cfe.tar.gz
Heimdall-7c6ee7f1a24faeafc793414e877bf014743d9cfe.tar.bz2
Heimdall-7c6ee7f1a24faeafc793414e877bf014743d9cfe.tar.lz
Heimdall-7c6ee7f1a24faeafc793414e877bf014743d9cfe.tar.xz
Heimdall-7c6ee7f1a24faeafc793414e877bf014743d9cfe.tar.zst
Heimdall-7c6ee7f1a24faeafc793414e877bf014743d9cfe.zip
Diffstat (limited to '')
-rw-r--r--heimdall-frontend/source/Packaging.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/heimdall-frontend/source/Packaging.h b/heimdall-frontend/source/Packaging.h
index 80b6d81..e8f83e1 100644
--- a/heimdall-frontend/source/Packaging.h
+++ b/heimdall-frontend/source/Packaging.h
@@ -104,17 +104,17 @@ namespace HeimdallFrontend
static bool ExtractTar(QFile& tarFile, const QDir& outputDirectory, QList<QString>& outputFilePaths);
static bool WriteTarEntry(const QString& entryFilename, const QString& filePath, QFile& outputTarFile);
- static bool CreateTar(const FirmwareInfo& firmwareInfo, QFile& outputTarFile); // Uses original TAR format.
+ static bool CreateTar(const FirmwareInfo *firmwareInfo, QFile& outputTarFile); // Uses original TAR format.
public:
static const char *ustarMagic;
- static bool ExtractPackage(const QString& packagePath, PackageData& packageData);
- static bool BuildPackage(const QString& packagePath, const FirmwareInfo& firmwareInfo);
+ static bool ExtractPackage(const QString& packagePath, PackageData *packageData);
+ static bool BuildPackage(const QString& packagePath, const FirmwareInfo *firmwareInfo);
- static QString ClashlessFilename(const QList<FileInfo>& fileInfos, int fileInfoIndex);
- static QString ClashlessFilename(const QList<FileInfo>& fileInfos, const QString& filename);
+ static QString ClashlessFilename(const QList<FileInfo *>& fileInfos, int fileInfoIndex);
+ static QString ClashlessFilename(const QList<FileInfo *>& fileInfos, const QString& filename);
};
}