aboutsummaryrefslogtreecommitdiffstats
path: root/heimdall-frontend/Source/Packaging.h
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell@glassechidna.com.au>2011-07-20 04:18:18 +1000
committerBenjamin Dobell <benjamin.dobell@glassechidna.com.au>2011-07-20 04:18:18 +1000
commit3fe256448148044b7c4a6f70b7947ec51033cf86 (patch)
tree23b06e76f2d1257025218d62b0ec8f515c26b10d /heimdall-frontend/Source/Packaging.h
parenta18d2e6b02914f0f8ac9a4d4b8ee37a349c11ea5 (diff)
downloadexternal_heimdall-3fe256448148044b7c4a6f70b7947ec51033cf86.zip
external_heimdall-3fe256448148044b7c4a6f70b7947ec51033cf86.tar.gz
external_heimdall-3fe256448148044b7c4a6f70b7947ec51033cf86.tar.bz2
- Heimdall Frontend large font fixes.
- Heimdall Frontend name collision resolution (over the top). - Attempt at resolving SGS2 failure to end session errors. (Needs testing)
Diffstat (limited to 'heimdall-frontend/Source/Packaging.h')
-rw-r--r--heimdall-frontend/Source/Packaging.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/heimdall-frontend/Source/Packaging.h b/heimdall-frontend/Source/Packaging.h
index 402f786..b6bac8d 100644
--- a/heimdall-frontend/Source/Packaging.h
+++ b/heimdall-frontend/Source/Packaging.h
@@ -103,7 +103,7 @@ namespace HeimdallFrontend
// TODO: Add support for sparse files to both methods?
static bool ExtractTar(QTemporaryFile& tarFile, PackageData *packageData);
- static bool WriteTarEntry(const QString& filename, QTemporaryFile *tarFile, bool firmwareXml = false);
+ static bool WriteTarEntry(const QString& filePath, QTemporaryFile *tarFile, const QString& entryFilename);
static bool CreateTar(const FirmwareInfo& firmwareInfo, QTemporaryFile *tarFile); // Uses original TAR format.
public:
@@ -112,6 +112,9 @@ namespace HeimdallFrontend
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);
};
}