summaryrefslogtreecommitdiffstats
path: root/common/domain/applicationdomaintype.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-04-12 23:33:00 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-04-12 23:33:00 +0200
commit75f85f7b30dbd40010a3b1c4d4e8c418cc55cc29 (patch)
treecdbbedba9b0224e31a9860337a46e0f4ae5ad650 /common/domain/applicationdomaintype.h
parent41782ea2be02cc92cf9e7eabc455ff2f14357236 (diff)
downloadsink-75f85f7b30dbd40010a3b1c4d4e8c418cc55cc29.tar.gz
sink-75f85f7b30dbd40010a3b1c4d4e8c418cc55cc29.zip
Added identity support
Diffstat (limited to 'common/domain/applicationdomaintype.h')
-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 5ecd9eb..8af48e8 100644
--- a/common/domain/applicationdomaintype.h
+++ b/common/domain/applicationdomaintype.h
@@ -165,6 +165,14 @@ struct SINK_EXPORT SinkAccount : public ApplicationDomainType {
165 virtual ~SinkAccount(); 165 virtual ~SinkAccount();
166}; 166};
167 167
168struct SINK_EXPORT Identity : public ApplicationDomainType {
169 typedef QSharedPointer<SinkAccount> Ptr;
170 Identity(const QByteArray &resourceInstanceIdentifier, const QByteArray &identifier, qint64 revision, const QSharedPointer<BufferAdaptor> &adaptor);
171 Identity(const QByteArray &identifier);
172 Identity();
173 virtual ~Identity();
174};
175
168/** 176/**
169 * All types need to be registered here an MUST return a different name. 177 * All types need to be registered here an MUST return a different name.
170 * 178 *