summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/domain/typeimplementations.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/domain/typeimplementations.cpp b/common/domain/typeimplementations.cpp
index 2bb630c..eb3851e 100644
--- a/common/domain/typeimplementations.cpp
+++ b/common/domain/typeimplementations.cpp
@@ -144,6 +144,8 @@ void TypeImplementation<Contact>::configure(ReadPropertyMapper<Buffer> &property
144 propertyMapper.addMapping<Contact::Emails, Buffer>(&Buffer::emails); 144 propertyMapper.addMapping<Contact::Emails, Buffer>(&Buffer::emails);
145 propertyMapper.addMapping<Contact::Vcard, Buffer>(&Buffer::vcard); 145 propertyMapper.addMapping<Contact::Vcard, Buffer>(&Buffer::vcard);
146 propertyMapper.addMapping<Contact::Addressbook, Buffer>(&Buffer::addressbook); 146 propertyMapper.addMapping<Contact::Addressbook, Buffer>(&Buffer::addressbook);
147 propertyMapper.addMapping<Contact::Firstname, Buffer>(&Buffer::firstname);
148 propertyMapper.addMapping<Contact::Lastname, Buffer>(&Buffer::lastname);
147} 149}
148 150
149void TypeImplementation<Contact>::configure(WritePropertyMapper<BufferBuilder> &propertyMapper) 151void TypeImplementation<Contact>::configure(WritePropertyMapper<BufferBuilder> &propertyMapper)
@@ -153,6 +155,8 @@ void TypeImplementation<Contact>::configure(WritePropertyMapper<BufferBuilder> &
153 propertyMapper.addMapping<Contact::Emails>(&BufferBuilder::add_emails); 155 propertyMapper.addMapping<Contact::Emails>(&BufferBuilder::add_emails);
154 propertyMapper.addMapping<Contact::Vcard>(&BufferBuilder::add_vcard); 156 propertyMapper.addMapping<Contact::Vcard>(&BufferBuilder::add_vcard);
155 propertyMapper.addMapping<Contact::Addressbook>(&BufferBuilder::add_addressbook); 157 propertyMapper.addMapping<Contact::Addressbook>(&BufferBuilder::add_addressbook);
158 propertyMapper.addMapping<Contact::Firstname>(&BufferBuilder::add_firstname);
159 propertyMapper.addMapping<Contact::Lastname>(&BufferBuilder::add_lastname);
156} 160}
157 161
158void TypeImplementation<Contact>::configure(IndexPropertyMapper &) 162void TypeImplementation<Contact>::configure(IndexPropertyMapper &)