summaryrefslogtreecommitdiffstats
path: root/common/domain/applicationdomaintype.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/domain/applicationdomaintype.h')
-rw-r--r--common/domain/applicationdomaintype.h14
1 files changed, 12 insertions, 2 deletions
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 {
112 using ApplicationDomainType::ApplicationDomainType; 112 using ApplicationDomainType::ApplicationDomainType;
113}; 113};
114 114
115class Mail : public ApplicationDomainType { 115struct Mail : public ApplicationDomainType {
116 typedef QSharedPointer<Mail> Ptr;
117 using ApplicationDomainType::ApplicationDomainType;
116}; 118};
117 119
118class Folder : public ApplicationDomainType { 120struct Folder : public ApplicationDomainType {
121 typedef QSharedPointer<Folder> Ptr;
122 using ApplicationDomainType::ApplicationDomainType;
119}; 123};
120 124
121/** 125/**
@@ -146,6 +150,12 @@ QByteArray getTypeName<Todo>();
146template<> 150template<>
147QByteArray getTypeName<AkonadiResource>(); 151QByteArray getTypeName<AkonadiResource>();
148 152
153template<>
154QByteArray getTypeName<Mail>();
155
156template<>
157QByteArray getTypeName<Folder>();
158
149/** 159/**
150 * Type implementation. 160 * Type implementation.
151 * 161 *