summaryrefslogtreecommitdiffstats
path: root/common/domain/event.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/event.h
parentda0c37dbad121252effa85941de4d49222176179 (diff)
downloadsink-9a03eb1a54c6289773bc1b8eb96181ed01553927.tar.gz
sink-9a03eb1a54c6289773bc1b8eb96181ed01553927.zip
TypeImplementation cleanup
Diffstat (limited to 'common/domain/event.h')
-rw-r--r--common/domain/event.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/common/domain/event.h b/common/domain/event.h
index fbaf4ed..d85b9b3 100644
--- a/common/domain/event.h
+++ b/common/domain/event.h
@@ -20,10 +20,6 @@
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;
28 24
29template<typename T> 25template<typename T>
@@ -31,13 +27,9 @@ class ReadPropertyMapper;
31template<typename T> 27template<typename T>
32class WritePropertyMapper; 28class WritePropertyMapper;
33 29
34class DataStoreQuery;
35
36class TypeIndex; 30class TypeIndex;
37 31
38namespace Sink { 32namespace Sink {
39 class Query;
40
41namespace ApplicationDomain { 33namespace ApplicationDomain {
42 namespace Buffer { 34 namespace Buffer {
43 struct Event; 35 struct Event;
@@ -54,10 +46,9 @@ class TypeImplementation<Sink::ApplicationDomain::Event> {
54public: 46public:
55 typedef Sink::ApplicationDomain::Buffer::Event Buffer; 47 typedef Sink::ApplicationDomain::Buffer::Event Buffer;
56 typedef Sink::ApplicationDomain::Buffer::EventBuilder BufferBuilder; 48 typedef Sink::ApplicationDomain::Buffer::EventBuilder BufferBuilder;
57 static void configureIndex(TypeIndex &index); 49 static void configure(TypeIndex &);
58 static QSet<QByteArray> indexedProperties(); 50 static void configure(ReadPropertyMapper<Buffer> &);
59 static QSharedPointer<ReadPropertyMapper<Buffer> > initializeReadPropertyMapper(); 51 static void configure(WritePropertyMapper<BufferBuilder> &);
60 static QSharedPointer<WritePropertyMapper<BufferBuilder> > initializeWritePropertyMapper();
61}; 52};
62 53
63} 54}