diff options
Diffstat (limited to 'common/domain/typeimplementations.h')
-rw-r--r-- | common/domain/typeimplementations.h | 31 |
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 | ||
23 | class 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 | ||
25 | template<typename T> | 29 | template<typename T> |
26 | class ReadPropertyMapper; | 30 | class ReadPropertyMapper; |
@@ -38,11 +42,6 @@ class TypeIndex; | |||
38 | namespace Sink { | 42 | namespace Sink { |
39 | namespace ApplicationDomain { | 43 | namespace ApplicationDomain { |
40 | 44 | ||
41 | namespace Buffer { | ||
42 | struct Mail; | ||
43 | struct MailBuilder; | ||
44 | } | ||
45 | |||
46 | template<> | 45 | template<> |
47 | class TypeImplementation<Sink::ApplicationDomain::Mail> { | 46 | class TypeImplementation<Sink::ApplicationDomain::Mail> { |
48 | public: | 47 | public: |
@@ -54,11 +53,6 @@ public: | |||
54 | static void configure(IndexPropertyMapper &indexPropertyMapper); | 53 | static void configure(IndexPropertyMapper &indexPropertyMapper); |
55 | }; | 54 | }; |
56 | 55 | ||
57 | namespace Buffer { | ||
58 | struct Folder; | ||
59 | struct FolderBuilder; | ||
60 | } | ||
61 | |||
62 | template<> | 56 | template<> |
63 | class TypeImplementation<Sink::ApplicationDomain::Folder> { | 57 | class TypeImplementation<Sink::ApplicationDomain::Folder> { |
64 | public: | 58 | public: |
@@ -70,11 +64,6 @@ public: | |||
70 | static void configure(IndexPropertyMapper &indexPropertyMapper); | 64 | static void configure(IndexPropertyMapper &indexPropertyMapper); |
71 | }; | 65 | }; |
72 | 66 | ||
73 | namespace Buffer { | ||
74 | struct Contact; | ||
75 | struct ContactBuilder; | ||
76 | } | ||
77 | |||
78 | template<> | 67 | template<> |
79 | class TypeImplementation<Sink::ApplicationDomain::Contact> { | 68 | class TypeImplementation<Sink::ApplicationDomain::Contact> { |
80 | public: | 69 | public: |
@@ -86,11 +75,6 @@ public: | |||
86 | static void configure(IndexPropertyMapper &indexPropertyMapper); | 75 | static void configure(IndexPropertyMapper &indexPropertyMapper); |
87 | }; | 76 | }; |
88 | 77 | ||
89 | namespace Buffer { | ||
90 | struct Addressbook; | ||
91 | struct AddressbookBuilder; | ||
92 | } | ||
93 | |||
94 | template<> | 78 | template<> |
95 | class TypeImplementation<Sink::ApplicationDomain::Addressbook> { | 79 | class TypeImplementation<Sink::ApplicationDomain::Addressbook> { |
96 | public: | 80 | public: |
@@ -102,11 +86,6 @@ public: | |||
102 | static void configure(IndexPropertyMapper &indexPropertyMapper); | 86 | static void configure(IndexPropertyMapper &indexPropertyMapper); |
103 | }; | 87 | }; |
104 | 88 | ||
105 | namespace Buffer { | ||
106 | struct Event; | ||
107 | struct EventBuilder; | ||
108 | } | ||
109 | |||
110 | template<> | 89 | template<> |
111 | class TypeImplementation<Sink::ApplicationDomain::Event> { | 90 | class TypeImplementation<Sink::ApplicationDomain::Event> { |
112 | public: | 91 | public: |