diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-20 15:25:05 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-21 09:18:50 +0200 |
commit | 9a03eb1a54c6289773bc1b8eb96181ed01553927 (patch) | |
tree | d820cd37e774f7b4404bd4994b627a02f8652a44 /common/domain/mail.h | |
parent | da0c37dbad121252effa85941de4d49222176179 (diff) | |
download | sink-9a03eb1a54c6289773bc1b8eb96181ed01553927.tar.gz sink-9a03eb1a54c6289773bc1b8eb96181ed01553927.zip |
TypeImplementation cleanup
Diffstat (limited to 'common/domain/mail.h')
-rw-r--r-- | common/domain/mail.h | 14 |
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 | |||
26 | class ResultSet; | ||
27 | class QByteArray; | 23 | class QByteArray; |
28 | class DataStoreQuery; | ||
29 | 24 | ||
30 | template<typename T> | 25 | template<typename T> |
31 | class ReadPropertyMapper; | 26 | class ReadPropertyMapper; |
@@ -35,8 +30,6 @@ class WritePropertyMapper; | |||
35 | class TypeIndex; | 30 | class TypeIndex; |
36 | 31 | ||
37 | namespace Sink { | 32 | namespace Sink { |
38 | class Query; | ||
39 | |||
40 | namespace ApplicationDomain { | 33 | namespace ApplicationDomain { |
41 | namespace Buffer { | 34 | namespace Buffer { |
42 | struct Mail; | 35 | struct Mail; |
@@ -48,10 +41,9 @@ class TypeImplementation<Sink::ApplicationDomain::Mail> { | |||
48 | public: | 41 | public: |
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 | } |