diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-28 14:25:20 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-28 14:25:20 +0200 |
commit | 9c37e308015f31ec778a39b31902e725cd9b76a8 (patch) | |
tree | ea4c2857a39bd5677dcad6e471f12291afe1101d /common/domain/typeimplementations.cpp | |
parent | 63d573be73e5574f450d84686788fbbd4fa80c6c (diff) | |
download | sink-9c37e308015f31ec778a39b31902e725cd9b76a8.tar.gz sink-9c37e308015f31ec778a39b31902e725cd9b76a8.zip |
Added missing property mappers
Diffstat (limited to 'common/domain/typeimplementations.cpp')
-rw-r--r-- | common/domain/typeimplementations.cpp | 4 |
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 | ||
149 | void TypeImplementation<Contact>::configure(WritePropertyMapper<BufferBuilder> &propertyMapper) | 151 | void 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 | ||
158 | void TypeImplementation<Contact>::configure(IndexPropertyMapper &) | 162 | void TypeImplementation<Contact>::configure(IndexPropertyMapper &) |