summaryrefslogtreecommitdiffstats
path: root/common/domain
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-12-09 16:31:30 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-12-09 16:31:30 +0100
commit9f6751df8e6f483b112c2b24c0bc725924f17356 (patch)
treedf312279bacc53e5bb6b6181fc25282ce5b0dd8e /common/domain
parent9c8e4612403fc2accc26ac2b49670394972f1293 (diff)
downloadsink-9f6751df8e6f483b112c2b24c0bc725924f17356.tar.gz
sink-9f6751df8e6f483b112c2b24c0bc725924f17356.zip
Move the BLOB property handling to the entitystore.
This is really part of the storage, and will help us to cleanly implement features like moving properties into a temporary place when reading in a clean way as well.
Diffstat (limited to 'common/domain')
-rw-r--r--common/domain/applicationdomaintype.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/domain/applicationdomaintype.h b/common/domain/applicationdomaintype.h
index 7c3800d..1848224 100644
--- a/common/domain/applicationdomaintype.h
+++ b/common/domain/applicationdomaintype.h
@@ -99,7 +99,15 @@ struct SINK_EXPORT Progress {
99}; 99};
100 100
101struct BLOB { 101struct BLOB {
102 BLOB() = default;
103 BLOB(const BLOB &) = default;
104 BLOB(const QString &id) : value(id) {};
105 ~BLOB() = default;
106 bool operator==(const BLOB &other) const {
107 return value == other.value && isExternal == other.isExternal;
108 }
102 QString value; 109 QString value;
110 bool isExternal = true;
103}; 111};
104 112
105/** 113/**