diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-04-12 23:33:00 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-04-12 23:33:00 +0200 |
commit | 75f85f7b30dbd40010a3b1c4d4e8c418cc55cc29 (patch) | |
tree | cdbbedba9b0224e31a9860337a46e0f4ae5ad650 /common/domain/applicationdomaintype.h | |
parent | 41782ea2be02cc92cf9e7eabc455ff2f14357236 (diff) | |
download | sink-75f85f7b30dbd40010a3b1c4d4e8c418cc55cc29.tar.gz sink-75f85f7b30dbd40010a3b1c4d4e8c418cc55cc29.zip |
Added identity support
Diffstat (limited to 'common/domain/applicationdomaintype.h')
-rw-r--r-- | common/domain/applicationdomaintype.h | 8 |
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 | ||
168 | struct 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 | * |