summaryrefslogtreecommitdiffstats
path: root/common/domain/typeimplementations.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-03 14:02:27 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-03 14:02:27 +0200
commit55fe06979ceebe67553135b43aa47e70d931304b (patch)
tree16b10a744879cc1872d6c07624b59ae64469ddbf /common/domain/typeimplementations.h
parent56fae95f49a1ca8ca614bd9f89b0ea5f872765e9 (diff)
parent288946f1694c2abe1d2c5800c87339d1e8780e4b (diff)
downloadsink-55fe06979ceebe67553135b43aa47e70d931304b.tar.gz
sink-55fe06979ceebe67553135b43aa47e70d931304b.zip
Merge branch 'develop'
Diffstat (limited to 'common/domain/typeimplementations.h')
-rw-r--r--common/domain/typeimplementations.h25
1 files changed, 11 insertions, 14 deletions
diff --git a/common/domain/typeimplementations.h b/common/domain/typeimplementations.h
index 37d6ca9..d36dfc1 100644
--- a/common/domain/typeimplementations.h
+++ b/common/domain/typeimplementations.h
@@ -26,10 +26,7 @@
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> 29class PropertyMapper;
30class ReadPropertyMapper;
31template<typename T>
32class WritePropertyMapper;
33class IndexPropertyMapper; 30class IndexPropertyMapper;
34 31
35class TypeIndex; 32class TypeIndex;
@@ -48,9 +45,9 @@ public:
48 typedef Sink::ApplicationDomain::Buffer::Mail Buffer; 45 typedef Sink::ApplicationDomain::Buffer::Mail Buffer;
49 typedef Sink::ApplicationDomain::Buffer::MailBuilder BufferBuilder; 46 typedef Sink::ApplicationDomain::Buffer::MailBuilder BufferBuilder;
50 static void configure(TypeIndex &index); 47 static void configure(TypeIndex &index);
51 static void configure(ReadPropertyMapper<Buffer> &propertyMapper); 48 static void configure(PropertyMapper &propertyMapper);
52 static void configure(WritePropertyMapper<BufferBuilder> &propertyMapper);
53 static void configure(IndexPropertyMapper &indexPropertyMapper); 49 static void configure(IndexPropertyMapper &indexPropertyMapper);
50 static QMap<QByteArray, int> typeDatabases();
54}; 51};
55 52
56template<> 53template<>
@@ -59,9 +56,9 @@ public:
59 typedef Sink::ApplicationDomain::Buffer::Folder Buffer; 56 typedef Sink::ApplicationDomain::Buffer::Folder Buffer;
60 typedef Sink::ApplicationDomain::Buffer::FolderBuilder BufferBuilder; 57 typedef Sink::ApplicationDomain::Buffer::FolderBuilder BufferBuilder;
61 static void configure(TypeIndex &); 58 static void configure(TypeIndex &);
62 static void configure(ReadPropertyMapper<Buffer> &); 59 static void configure(PropertyMapper &);
63 static void configure(WritePropertyMapper<BufferBuilder> &);
64 static void configure(IndexPropertyMapper &indexPropertyMapper); 60 static void configure(IndexPropertyMapper &indexPropertyMapper);
61 static QMap<QByteArray, int> typeDatabases();
65}; 62};
66 63
67template<> 64template<>
@@ -70,9 +67,9 @@ public:
70 typedef Sink::ApplicationDomain::Buffer::Contact Buffer; 67 typedef Sink::ApplicationDomain::Buffer::Contact Buffer;
71 typedef Sink::ApplicationDomain::Buffer::ContactBuilder BufferBuilder; 68 typedef Sink::ApplicationDomain::Buffer::ContactBuilder BufferBuilder;
72 static void configure(TypeIndex &); 69 static void configure(TypeIndex &);
73 static void configure(ReadPropertyMapper<Buffer> &); 70 static void configure(PropertyMapper &);
74 static void configure(WritePropertyMapper<BufferBuilder> &);
75 static void configure(IndexPropertyMapper &indexPropertyMapper); 71 static void configure(IndexPropertyMapper &indexPropertyMapper);
72 static QMap<QByteArray, int> typeDatabases();
76}; 73};
77 74
78template<> 75template<>
@@ -81,9 +78,9 @@ public:
81 typedef Sink::ApplicationDomain::Buffer::Addressbook Buffer; 78 typedef Sink::ApplicationDomain::Buffer::Addressbook Buffer;
82 typedef Sink::ApplicationDomain::Buffer::AddressbookBuilder BufferBuilder; 79 typedef Sink::ApplicationDomain::Buffer::AddressbookBuilder BufferBuilder;
83 static void configure(TypeIndex &); 80 static void configure(TypeIndex &);
84 static void configure(ReadPropertyMapper<Buffer> &); 81 static void configure(PropertyMapper &);
85 static void configure(WritePropertyMapper<BufferBuilder> &);
86 static void configure(IndexPropertyMapper &indexPropertyMapper); 82 static void configure(IndexPropertyMapper &indexPropertyMapper);
83 static QMap<QByteArray, int> typeDatabases();
87}; 84};
88 85
89template<> 86template<>
@@ -92,9 +89,9 @@ public:
92 typedef Sink::ApplicationDomain::Buffer::Event Buffer; 89 typedef Sink::ApplicationDomain::Buffer::Event Buffer;
93 typedef Sink::ApplicationDomain::Buffer::EventBuilder BufferBuilder; 90 typedef Sink::ApplicationDomain::Buffer::EventBuilder BufferBuilder;
94 static void configure(TypeIndex &); 91 static void configure(TypeIndex &);
95 static void configure(ReadPropertyMapper<Buffer> &); 92 static void configure(PropertyMapper &);
96 static void configure(WritePropertyMapper<BufferBuilder> &);
97 static void configure(IndexPropertyMapper &indexPropertyMapper); 93 static void configure(IndexPropertyMapper &indexPropertyMapper);
94 static QMap<QByteArray, int> typeDatabases();
98}; 95};
99 96
100} 97}