From bbbda3fe9444eba6795a5490da0425cdf8f26361 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 8 Sep 2015 21:08:54 +0200 Subject: Added support for mails to akonadi and the dummyresource. Adding new types definitely needs to become easier. --- common/domain/applicationdomaintype.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'common/domain/applicationdomaintype.h') diff --git a/common/domain/applicationdomaintype.h b/common/domain/applicationdomaintype.h index 29bebcf..e0a6de0 100644 --- a/common/domain/applicationdomaintype.h +++ b/common/domain/applicationdomaintype.h @@ -112,10 +112,14 @@ struct Calendar : public ApplicationDomainType { using ApplicationDomainType::ApplicationDomainType; }; -class Mail : public ApplicationDomainType { +struct Mail : public ApplicationDomainType { + typedef QSharedPointer Ptr; + using ApplicationDomainType::ApplicationDomainType; }; -class Folder : public ApplicationDomainType { +struct Folder : public ApplicationDomainType { + typedef QSharedPointer Ptr; + using ApplicationDomainType::ApplicationDomainType; }; /** @@ -146,6 +150,12 @@ QByteArray getTypeName(); template<> QByteArray getTypeName(); +template<> +QByteArray getTypeName(); + +template<> +QByteArray getTypeName(); + /** * Type implementation. * -- cgit v1.2.3