summaryrefslogtreecommitdiffstats
path: root/common/domain/typeimplementations.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-28 11:48:06 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-28 11:48:06 +0200
commit6b8432a5c0647d8fbe3cda549574ae13e07bb2f4 (patch)
tree12b86a325be07013b3f1a926174d554afc35830a /common/domain/typeimplementations.h
parent4db017949e6528867963c5495aa557dcfb6f4765 (diff)
downloadsink-6b8432a5c0647d8fbe3cda549574ae13e07bb2f4.tar.gz
sink-6b8432a5c0647d8fbe3cda549574ae13e07bb2f4.zip
Simplified propertymapper
Diffstat (limited to 'common/domain/typeimplementations.h')
-rw-r--r--common/domain/typeimplementations.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/common/domain/typeimplementations.h b/common/domain/typeimplementations.h
index 37d6ca9..705b059 100644
--- a/common/domain/typeimplementations.h
+++ b/common/domain/typeimplementations.h
@@ -26,7 +26,6 @@
26#include "contact_generated.h" 26#include "contact_generated.h"
27#include "addressbook_generated.h" 27#include "addressbook_generated.h"
28 28
29template<typename T>
30class ReadPropertyMapper; 29class ReadPropertyMapper;
31template<typename T> 30template<typename T>
32class WritePropertyMapper; 31class WritePropertyMapper;
@@ -48,7 +47,7 @@ public:
48 typedef Sink::ApplicationDomain::Buffer::Mail Buffer; 47 typedef Sink::ApplicationDomain::Buffer::Mail Buffer;
49 typedef Sink::ApplicationDomain::Buffer::MailBuilder BufferBuilder; 48 typedef Sink::ApplicationDomain::Buffer::MailBuilder BufferBuilder;
50 static void configure(TypeIndex &index); 49 static void configure(TypeIndex &index);
51 static void configure(ReadPropertyMapper<Buffer> &propertyMapper); 50 static void configure(ReadPropertyMapper &propertyMapper);
52 static void configure(WritePropertyMapper<BufferBuilder> &propertyMapper); 51 static void configure(WritePropertyMapper<BufferBuilder> &propertyMapper);
53 static void configure(IndexPropertyMapper &indexPropertyMapper); 52 static void configure(IndexPropertyMapper &indexPropertyMapper);
54}; 53};
@@ -59,7 +58,7 @@ public:
59 typedef Sink::ApplicationDomain::Buffer::Folder Buffer; 58 typedef Sink::ApplicationDomain::Buffer::Folder Buffer;
60 typedef Sink::ApplicationDomain::Buffer::FolderBuilder BufferBuilder; 59 typedef Sink::ApplicationDomain::Buffer::FolderBuilder BufferBuilder;
61 static void configure(TypeIndex &); 60 static void configure(TypeIndex &);
62 static void configure(ReadPropertyMapper<Buffer> &); 61 static void configure(ReadPropertyMapper &);
63 static void configure(WritePropertyMapper<BufferBuilder> &); 62 static void configure(WritePropertyMapper<BufferBuilder> &);
64 static void configure(IndexPropertyMapper &indexPropertyMapper); 63 static void configure(IndexPropertyMapper &indexPropertyMapper);
65}; 64};
@@ -70,7 +69,7 @@ public:
70 typedef Sink::ApplicationDomain::Buffer::Contact Buffer; 69 typedef Sink::ApplicationDomain::Buffer::Contact Buffer;
71 typedef Sink::ApplicationDomain::Buffer::ContactBuilder BufferBuilder; 70 typedef Sink::ApplicationDomain::Buffer::ContactBuilder BufferBuilder;
72 static void configure(TypeIndex &); 71 static void configure(TypeIndex &);
73 static void configure(ReadPropertyMapper<Buffer> &); 72 static void configure(ReadPropertyMapper &);
74 static void configure(WritePropertyMapper<BufferBuilder> &); 73 static void configure(WritePropertyMapper<BufferBuilder> &);
75 static void configure(IndexPropertyMapper &indexPropertyMapper); 74 static void configure(IndexPropertyMapper &indexPropertyMapper);
76}; 75};
@@ -81,7 +80,7 @@ public:
81 typedef Sink::ApplicationDomain::Buffer::Addressbook Buffer; 80 typedef Sink::ApplicationDomain::Buffer::Addressbook Buffer;
82 typedef Sink::ApplicationDomain::Buffer::AddressbookBuilder BufferBuilder; 81 typedef Sink::ApplicationDomain::Buffer::AddressbookBuilder BufferBuilder;
83 static void configure(TypeIndex &); 82 static void configure(TypeIndex &);
84 static void configure(ReadPropertyMapper<Buffer> &); 83 static void configure(ReadPropertyMapper &);
85 static void configure(WritePropertyMapper<BufferBuilder> &); 84 static void configure(WritePropertyMapper<BufferBuilder> &);
86 static void configure(IndexPropertyMapper &indexPropertyMapper); 85 static void configure(IndexPropertyMapper &indexPropertyMapper);
87}; 86};
@@ -92,7 +91,7 @@ public:
92 typedef Sink::ApplicationDomain::Buffer::Event Buffer; 91 typedef Sink::ApplicationDomain::Buffer::Event Buffer;
93 typedef Sink::ApplicationDomain::Buffer::EventBuilder BufferBuilder; 92 typedef Sink::ApplicationDomain::Buffer::EventBuilder BufferBuilder;
94 static void configure(TypeIndex &); 93 static void configure(TypeIndex &);
95 static void configure(ReadPropertyMapper<Buffer> &); 94 static void configure(ReadPropertyMapper &);
96 static void configure(WritePropertyMapper<BufferBuilder> &); 95 static void configure(WritePropertyMapper<BufferBuilder> &);
97 static void configure(IndexPropertyMapper &indexPropertyMapper); 96 static void configure(IndexPropertyMapper &indexPropertyMapper);
98}; 97};