summaryrefslogtreecommitdiffstats
path: root/common/domain/typeimplementations.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-28 15:29:18 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-28 15:30:15 +0200
commitca5020095abfb76e63bd801e9722c07193eb05f5 (patch)
tree34d6344e982adcea4652a3ccb6bfb43b118a5189 /common/domain/typeimplementations.h
parenta08984c450b1cd2584272b0d57a2f95ae3d074c3 (diff)
downloadsink-ca5020095abfb76e63bd801e9722c07193eb05f5.tar.gz
sink-ca5020095abfb76e63bd801e9722c07193eb05f5.zip
A single propertymapper for both directions
Diffstat (limited to 'common/domain/typeimplementations.h')
-rw-r--r--common/domain/typeimplementations.h18
1 files changed, 6 insertions, 12 deletions
diff --git a/common/domain/typeimplementations.h b/common/domain/typeimplementations.h
index 8acea58..7e4608c 100644
--- a/common/domain/typeimplementations.h
+++ b/common/domain/typeimplementations.h
@@ -26,8 +26,7 @@
26#include "contact_generated.h" 26#include "contact_generated.h"
27#include "addressbook_generated.h" 27#include "addressbook_generated.h"
28 28
29class ReadPropertyMapper; 29class PropertyMapper;
30class WritePropertyMapper;
31class IndexPropertyMapper; 30class IndexPropertyMapper;
32 31
33class TypeIndex; 32class TypeIndex;
@@ -46,8 +45,7 @@ public:
46 typedef Sink::ApplicationDomain::Buffer::Mail Buffer; 45 typedef Sink::ApplicationDomain::Buffer::Mail Buffer;
47 typedef Sink::ApplicationDomain::Buffer::MailBuilder BufferBuilder; 46 typedef Sink::ApplicationDomain::Buffer::MailBuilder BufferBuilder;
48 static void configure(TypeIndex &index); 47 static void configure(TypeIndex &index);
49 static void configure(ReadPropertyMapper &propertyMapper); 48 static void configure(PropertyMapper &propertyMapper);
50 static void configure(WritePropertyMapper &propertyMapper);
51 static void configure(IndexPropertyMapper &indexPropertyMapper); 49 static void configure(IndexPropertyMapper &indexPropertyMapper);
52}; 50};
53 51
@@ -57,8 +55,7 @@ public:
57 typedef Sink::ApplicationDomain::Buffer::Folder Buffer; 55 typedef Sink::ApplicationDomain::Buffer::Folder Buffer;
58 typedef Sink::ApplicationDomain::Buffer::FolderBuilder BufferBuilder; 56 typedef Sink::ApplicationDomain::Buffer::FolderBuilder BufferBuilder;
59 static void configure(TypeIndex &); 57 static void configure(TypeIndex &);
60 static void configure(ReadPropertyMapper &); 58 static void configure(PropertyMapper &);
61 static void configure(WritePropertyMapper &);
62 static void configure(IndexPropertyMapper &indexPropertyMapper); 59 static void configure(IndexPropertyMapper &indexPropertyMapper);
63}; 60};
64 61
@@ -68,8 +65,7 @@ public:
68 typedef Sink::ApplicationDomain::Buffer::Contact Buffer; 65 typedef Sink::ApplicationDomain::Buffer::Contact Buffer;
69 typedef Sink::ApplicationDomain::Buffer::ContactBuilder BufferBuilder; 66 typedef Sink::ApplicationDomain::Buffer::ContactBuilder BufferBuilder;
70 static void configure(TypeIndex &); 67 static void configure(TypeIndex &);
71 static void configure(ReadPropertyMapper &); 68 static void configure(PropertyMapper &);
72 static void configure(WritePropertyMapper &);
73 static void configure(IndexPropertyMapper &indexPropertyMapper); 69 static void configure(IndexPropertyMapper &indexPropertyMapper);
74}; 70};
75 71
@@ -79,8 +75,7 @@ public:
79 typedef Sink::ApplicationDomain::Buffer::Addressbook Buffer; 75 typedef Sink::ApplicationDomain::Buffer::Addressbook Buffer;
80 typedef Sink::ApplicationDomain::Buffer::AddressbookBuilder BufferBuilder; 76 typedef Sink::ApplicationDomain::Buffer::AddressbookBuilder BufferBuilder;
81 static void configure(TypeIndex &); 77 static void configure(TypeIndex &);
82 static void configure(ReadPropertyMapper &); 78 static void configure(PropertyMapper &);
83 static void configure(WritePropertyMapper &);
84 static void configure(IndexPropertyMapper &indexPropertyMapper); 79 static void configure(IndexPropertyMapper &indexPropertyMapper);
85}; 80};
86 81
@@ -90,8 +85,7 @@ public:
90 typedef Sink::ApplicationDomain::Buffer::Event Buffer; 85 typedef Sink::ApplicationDomain::Buffer::Event Buffer;
91 typedef Sink::ApplicationDomain::Buffer::EventBuilder BufferBuilder; 86 typedef Sink::ApplicationDomain::Buffer::EventBuilder BufferBuilder;
92 static void configure(TypeIndex &); 87 static void configure(TypeIndex &);
93 static void configure(ReadPropertyMapper &); 88 static void configure(PropertyMapper &);
94 static void configure(WritePropertyMapper &);
95 static void configure(IndexPropertyMapper &indexPropertyMapper); 89 static void configure(IndexPropertyMapper &indexPropertyMapper);
96}; 90};
97 91