diff options
Diffstat (limited to 'common/domain/contact.cpp')
-rw-r--r-- | common/domain/contact.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/domain/contact.cpp b/common/domain/contact.cpp index ea7cac2..01f9144 100644 --- a/common/domain/contact.cpp +++ b/common/domain/contact.cpp | |||
@@ -1,5 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2017 Sandro Knauß <knauss@kolabsys.com> | 2 | * Copyright (C) 2017 Sandro Knauß <knauss@kolabsys.com> |
3 | * Copyright (C) 2017 Christian Mollekopf <mollekopf@kolabsys.com> | ||
3 | * | 4 | * |
4 | * This program is free software; you can redistribute it and/or modify | 5 | * This program is free software; you can redistribute it and/or modify |
5 | * it under the terms of the GNU General Public License as published by | 6 | * it under the terms of the GNU General Public License as published by |
@@ -41,6 +42,7 @@ void TypeImplementation<Contact>::configure(ReadPropertyMapper<Buffer> &property | |||
41 | propertyMapper.addMapping<Contact::Fn, Buffer>(&Buffer::fn); | 42 | propertyMapper.addMapping<Contact::Fn, Buffer>(&Buffer::fn); |
42 | propertyMapper.addMapping<Contact::Emails, Buffer>(&Buffer::emails); | 43 | propertyMapper.addMapping<Contact::Emails, Buffer>(&Buffer::emails); |
43 | propertyMapper.addMapping<Contact::Vcard, Buffer>(&Buffer::vcard); | 44 | propertyMapper.addMapping<Contact::Vcard, Buffer>(&Buffer::vcard); |
45 | propertyMapper.addMapping<Contact::Addressbook, Buffer>(&Buffer::addressbook); | ||
44 | } | 46 | } |
45 | 47 | ||
46 | void TypeImplementation<Contact>::configure(WritePropertyMapper<BufferBuilder> &propertyMapper) | 48 | void TypeImplementation<Contact>::configure(WritePropertyMapper<BufferBuilder> &propertyMapper) |
@@ -49,6 +51,7 @@ void TypeImplementation<Contact>::configure(WritePropertyMapper<BufferBuilder> & | |||
49 | propertyMapper.addMapping<Contact::Fn>(&BufferBuilder::add_fn); | 51 | propertyMapper.addMapping<Contact::Fn>(&BufferBuilder::add_fn); |
50 | propertyMapper.addMapping<Contact::Emails>(&BufferBuilder::add_emails); | 52 | propertyMapper.addMapping<Contact::Emails>(&BufferBuilder::add_emails); |
51 | propertyMapper.addMapping<Contact::Vcard>(&BufferBuilder::add_vcard); | 53 | propertyMapper.addMapping<Contact::Vcard>(&BufferBuilder::add_vcard); |
54 | propertyMapper.addMapping<Contact::Addressbook>(&BufferBuilder::add_addressbook); | ||
52 | } | 55 | } |
53 | 56 | ||
54 | void TypeImplementation<Contact>::configure(IndexPropertyMapper &) | 57 | void TypeImplementation<Contact>::configure(IndexPropertyMapper &) |