summaryrefslogtreecommitdiffstats
path: root/common/domain/typeimplementations.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-03-21 14:12:14 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-03-21 14:12:14 +0100
commitdaf96f7efec0538e161eab8e906a291015842e1e (patch)
tree577af79efecd96e0d2187d495628d9950f2a9d45 /common/domain/typeimplementations.h
parent7a98c9853726ed09abd35a447f9854c5459a855d (diff)
downloadsink-daf96f7efec0538e161eab8e906a291015842e1e.tar.gz
sink-daf96f7efec0538e161eab8e906a291015842e1e.zip
Default domain adaptor
Diffstat (limited to 'common/domain/typeimplementations.h')
-rw-r--r--common/domain/typeimplementations.h31
1 files changed, 5 insertions, 26 deletions
diff --git a/common/domain/typeimplementations.h b/common/domain/typeimplementations.h
index cb63949..37d6ca9 100644
--- a/common/domain/typeimplementations.h
+++ b/common/domain/typeimplementations.h
@@ -20,7 +20,11 @@
20 20
21#include "applicationdomaintype.h" 21#include "applicationdomaintype.h"
22 22
23class QByteArray; 23#include "mail_generated.h"
24#include "folder_generated.h"
25#include "event_generated.h"
26#include "contact_generated.h"
27#include "addressbook_generated.h"
24 28
25template<typename T> 29template<typename T>
26class ReadPropertyMapper; 30class ReadPropertyMapper;
@@ -38,11 +42,6 @@ class TypeIndex;
38namespace Sink { 42namespace Sink {
39namespace ApplicationDomain { 43namespace ApplicationDomain {
40 44
41namespace Buffer {
42 struct Mail;
43 struct MailBuilder;
44}
45
46template<> 45template<>
47class TypeImplementation<Sink::ApplicationDomain::Mail> { 46class TypeImplementation<Sink::ApplicationDomain::Mail> {
48public: 47public:
@@ -54,11 +53,6 @@ public:
54 static void configure(IndexPropertyMapper &indexPropertyMapper); 53 static void configure(IndexPropertyMapper &indexPropertyMapper);
55}; 54};
56 55
57namespace Buffer {
58 struct Folder;
59 struct FolderBuilder;
60}
61
62template<> 56template<>
63class TypeImplementation<Sink::ApplicationDomain::Folder> { 57class TypeImplementation<Sink::ApplicationDomain::Folder> {
64public: 58public:
@@ -70,11 +64,6 @@ public:
70 static void configure(IndexPropertyMapper &indexPropertyMapper); 64 static void configure(IndexPropertyMapper &indexPropertyMapper);
71}; 65};
72 66
73namespace Buffer {
74 struct Contact;
75 struct ContactBuilder;
76}
77
78template<> 67template<>
79class TypeImplementation<Sink::ApplicationDomain::Contact> { 68class TypeImplementation<Sink::ApplicationDomain::Contact> {
80public: 69public:
@@ -86,11 +75,6 @@ public:
86 static void configure(IndexPropertyMapper &indexPropertyMapper); 75 static void configure(IndexPropertyMapper &indexPropertyMapper);
87}; 76};
88 77
89namespace Buffer {
90 struct Addressbook;
91 struct AddressbookBuilder;
92}
93
94template<> 78template<>
95class TypeImplementation<Sink::ApplicationDomain::Addressbook> { 79class TypeImplementation<Sink::ApplicationDomain::Addressbook> {
96public: 80public:
@@ -102,11 +86,6 @@ public:
102 static void configure(IndexPropertyMapper &indexPropertyMapper); 86 static void configure(IndexPropertyMapper &indexPropertyMapper);
103}; 87};
104 88
105namespace Buffer {
106 struct Event;
107 struct EventBuilder;
108}
109
110template<> 89template<>
111class TypeImplementation<Sink::ApplicationDomain::Event> { 90class TypeImplementation<Sink::ApplicationDomain::Event> {
112public: 91public: