summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/binaryformat.h
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@digia.com>2014-07-30 17:30:29 +0200
committerKarsten Heimrich <karsten.heimrich@digia.com>2014-08-27 13:21:56 +0200
commit554a7f108ef17d8a042f2960e0a483508ca15cd3 (patch)
treea3547db4e2e3c3375ff7e911c82b82a4f8e5149a /src/libs/installer/binaryformat.h
parent2dfa49ac79d421c87bbc1404be56d5ae37a6a2c4 (diff)
Introduce two new functions to read and write binary content.
In addition update the auto test to test both new functions. Change-Id: I85f1e28cf486fc381941e553dac6defa9d327117 Reviewed-by: Niels Weber <niels.weber@digia.com>
Diffstat (limited to 'src/libs/installer/binaryformat.h')
-rw-r--r--src/libs/installer/binaryformat.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libs/installer/binaryformat.h b/src/libs/installer/binaryformat.h
index 1097b561f..162966b55 100644
--- a/src/libs/installer/binaryformat.h
+++ b/src/libs/installer/binaryformat.h
@@ -50,6 +50,14 @@
namespace QInstaller {
+struct OperationBlob {
+ OperationBlob(const QString &n, const QString &x)
+ : name(n), xml(x) {}
+ QString name;
+ QString xml;
+};
+
+
class INSTALLER_EXPORT Resource : public QIODevice
{
Q_OBJECT