summaryrefslogtreecommitdiffstats
path: root/common/domain/mail.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-10-20 15:25:05 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-10-21 09:18:50 +0200
commit9a03eb1a54c6289773bc1b8eb96181ed01553927 (patch)
treed820cd37e774f7b4404bd4994b627a02f8652a44 /common/domain/mail.h
parentda0c37dbad121252effa85941de4d49222176179 (diff)
downloadsink-9a03eb1a54c6289773bc1b8eb96181ed01553927.tar.gz
sink-9a03eb1a54c6289773bc1b8eb96181ed01553927.zip
TypeImplementation cleanup
Diffstat (limited to 'common/domain/mail.h')
-rw-r--r--common/domain/mail.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/common/domain/mail.h b/common/domain/mail.h
index c0cfc55..c12976a 100644
--- a/common/domain/mail.h
+++ b/common/domain/mail.h
@@ -20,12 +20,7 @@
20 20
21#include "applicationdomaintype.h" 21#include "applicationdomaintype.h"
22 22
23#include "storage.h"
24#include "storage/entitystore.h"
25
26class ResultSet;
27class QByteArray; 23class QByteArray;
28class DataStoreQuery;
29 24
30template<typename T> 25template<typename T>
31class ReadPropertyMapper; 26class ReadPropertyMapper;
@@ -35,8 +30,6 @@ class WritePropertyMapper;
35class TypeIndex; 30class TypeIndex;
36 31
37namespace Sink { 32namespace Sink {
38 class Query;
39
40namespace ApplicationDomain { 33namespace ApplicationDomain {
41 namespace Buffer { 34 namespace Buffer {
42 struct Mail; 35 struct Mail;
@@ -48,10 +41,9 @@ class TypeImplementation<Sink::ApplicationDomain::Mail> {
48public: 41public:
49 typedef Sink::ApplicationDomain::Buffer::Mail Buffer; 42 typedef Sink::ApplicationDomain::Buffer::Mail Buffer;
50 typedef Sink::ApplicationDomain::Buffer::MailBuilder BufferBuilder; 43 typedef Sink::ApplicationDomain::Buffer::MailBuilder BufferBuilder;
51 static void configureIndex(TypeIndex &index); 44 static void configure(TypeIndex &index);
52 static QSet<QByteArray> indexedProperties(); 45 static void configure(ReadPropertyMapper<Buffer> &propertyMapper);
53 static QSharedPointer<ReadPropertyMapper<Buffer> > initializeReadPropertyMapper(); 46 static void configure(WritePropertyMapper<BufferBuilder> &propertyMapper);
54 static QSharedPointer<WritePropertyMapper<BufferBuilder> > initializeWritePropertyMapper();
55}; 47};
56 48
57} 49}