From 18cd58aabeb253f8c4eb69d9aef295b9b83bb6c4 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Fri, 29 Jun 2001 03:49:24 +0000 Subject: add support for X-EVOLUTION-LIST and X-EVOLUTION-LIST-SHOW-ADDRESSES. 2001-06-28 Chris Toshok * backend/ebook/e-card.c (e_card_get_vobject): add support for X-EVOLUTION-LIST and X-EVOLUTION-LIST-SHOW-ADDRESSES. (parse_list): new function, parse the boolean X-EVOLUTION-LIST. (parse_list_show_addresses): new function, parse the boolean X-EVOLUTION-LIST-SHOW-ADDRESSES. (e_card_class_init): add args for "list" and "list_show_addresses". (e_card_set_arg): add support for list and list_show_addresses. (e_card_get_arg): same. (e_card_init): init list and list_show_addresses. svn path=/trunk/; revision=10585 --- addressbook/backend/ebook/e-card.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'addressbook/backend/ebook/e-card.h') diff --git a/addressbook/backend/ebook/e-card.h b/addressbook/backend/ebook/e-card.h index 0000147a0e..78c6f3d661 100644 --- a/addressbook/backend/ebook/e-card.h +++ b/addressbook/backend/ebook/e-card.h @@ -74,6 +74,10 @@ struct _ECard { guint32 wants_html : 1; /* Wants html mail. */ guint32 wants_html_set : 1; /* Wants html mail. */ + guint32 list : 1; /* If the card corresponds to a contact list */ + guint32 list_show_addresses : 1; /* Whether to show the addresses + in the To: or Bcc: field */ + #if 0 ECardPhoto *logo; /* This person's org's logo. */ @@ -115,6 +119,10 @@ char *e_card_get_vcard (ECard char *e_card_list_get_vcard (GList *list); ECard *e_card_duplicate (ECard *card); +/* Evolution List convenience functions */ +gboolean e_card_evolution_list (ECard *card); +gboolean e_card_evolution_list_show_addresses(ECard *card); + /* ECardPhone manipulation */ ECardPhone *e_card_phone_new (void); ECardPhone *e_card_phone_copy (const ECardPhone *phone); -- cgit v1.2.3