diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2011-10-27 08:54:03 +0100 |
---|---|---|
committer | Philip Withnall <philip@tecnocode.co.uk> | 2011-10-27 08:54:03 +0100 |
commit | 1c5540bbf98f2b51d23a632dd72a4b2c606d08a7 (patch) | |
tree | c63153bda169a0f5a94ca45faf2b323c0e45e435 /gdata/services/contacts/gdata-contacts-contact.h | |
parent | 43934b019874eb6490f1df72d3d6dbb5fd034234 (diff) | |
download | libgdata-1c5540bbf98f2b51d23a632dd72a4b2c606d08a7.tar.gz |
contacts: Add support for the “file as” property
Add support for “file as” strings on contacts, specifying their sort order
if they have non-Western-style names or names which are otherwise incorrectly
sorted in the contact list.
The following API has been added:
• GDataContactsContact:file-as
• gdata_contacts_contact_[get|set]_file_as()
This includes basic test coverage of the new code.
Helps: bgo#661033
Diffstat (limited to 'gdata/services/contacts/gdata-contacts-contact.h')
-rw-r--r-- | gdata/services/contacts/gdata-contacts-contact.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdata/services/contacts/gdata-contacts-contact.h b/gdata/services/contacts/gdata-contacts-contact.h index e335a9cf..0f91f342 100644 --- a/gdata/services/contacts/gdata-contacts-contact.h +++ b/gdata/services/contacts/gdata-contacts-contact.h @@ -1,7 +1,7 @@ /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ /* * GData Client - * Copyright (C) Philip Withnall 2009–2010 <philip@tecnocode.co.uk> + * Copyright (C) Philip Withnall 2009, 2010, 2011 <philip@tecnocode.co.uk> * * GData Client is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -167,6 +167,9 @@ void gdata_contacts_contact_set_name (GDataContactsContact *self, GDataGDName *n const gchar *gdata_contacts_contact_get_nickname (GDataContactsContact *self) G_GNUC_PURE; void gdata_contacts_contact_set_nickname (GDataContactsContact *self, const gchar *nickname); +const gchar *gdata_contacts_contact_get_file_as (GDataContactsContact *self) G_GNUC_PURE; +void gdata_contacts_contact_set_file_as (GDataContactsContact *self, const gchar *file_as); + gboolean gdata_contacts_contact_get_birthday (GDataContactsContact *self, GDate *birthday) G_GNUC_PURE; void gdata_contacts_contact_set_birthday (GDataContactsContact *self, GDate *birthday, gboolean birthday_has_year); |