From 8d848e0e56a38c4da1d9c47ebe2ac3e7d0a7da39 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Sat, 29 Apr 2000 18:16:43 +0000 Subject: Added e_card_phone_new e_card_delivery_address_new, 2000-04-29 Christopher James Lahey * backend/ebook/e-card.c, backend/ebook/e-card.h: Added e_card_phone_new e_card_delivery_address_new, e_card_delivery_address_to_string, e_card_name_copy, e_card_name_new, e_card_name_to_string, and made e_card_name_free public. Removed some unused code. * backend/pas/pas-backend-file.c: Fixed a warning. * contact-editor/Makefile.am: Added e-contact-editor-fullname.[ch] and fullname.glade. Added e-name libs and includes. * contact-editor/e-contact-editor-fullname.c, contact-editor/e-contact-editor-fullname.h, contact-editor/fullname-strings.h, contact-editor/fullname.glade: New dialog for editing the fields of a name separately. * contact-editor/e-contact-editor.c, contact-editor/e-contact-editor.h: Create an EContactEditorFullname when you click on the Full Name button. Maintain a parsed name at all times. * gui/component/Makefile.am, gui/minicard/Makefile.am: Added e-name libs. svn path=/trunk/; revision=2683 --- addressbook/backend/ebook/e-card.h | 32 ++++++++++---------------------- 1 file changed, 10 insertions(+), 22 deletions(-) (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 1c48376dca..c42db15461 100644 --- a/addressbook/backend/ebook/e-card.h +++ b/addressbook/backend/ebook/e-card.h @@ -64,9 +64,6 @@ struct _ECard { char *fburl; /* Free Busy URL */ #if 0 - ECardOrg *org; /* The person's organization. */ - - char *role; /* The person's role w/in his org */ ECardPhoto *logo; /* This person's org's logo. */ ECardPhoto *photo; /* A photo of the person. */ @@ -78,8 +75,6 @@ struct _ECard { char *categories; /* A list of the categories to which this card belongs. */ - char *comment; /* An unstructured comment string. */ - ECardSound *sound; ECardKey *key; /* The person's public key. */ @@ -88,7 +83,6 @@ struct _ECard { char *mailer; /* The user's mailer. */ - char *uid; /* This card's unique identifier. */ ECardRev *rev; /* The time this card was last modified. */ @@ -109,31 +103,25 @@ char *e_card_get_vcard (ECard *card); ECard *e_card_duplicate (ECard *card); +ECardPhone *e_card_phone_new (void); void e_card_phone_free (ECardPhone *phone); ECardPhone *e_card_phone_copy (const ECardPhone *phone); + +ECardDeliveryAddress *e_card_delivery_address_new (void); void e_card_delivery_address_free (ECardDeliveryAddress *addr); ECardDeliveryAddress *e_card_delivery_address_copy (const ECardDeliveryAddress *addr); +char *e_card_delivery_address_to_string (const ECardDeliveryAddress *addr); + +ECardAddrLabel *e_card_address_label_new (void); void e_card_address_label_free (ECardAddrLabel *addr); ECardAddrLabel *e_card_address_label_copy (const ECardAddrLabel *addr); +ECardName *e_card_name_new (void); +void e_card_name_free(ECardName *name); +ECardName *e_card_name_copy (const ECardName *name); +char *e_card_name_to_string(const ECardName *name); /* Standard Gtk function */ GtkType e_card_get_type (void); - -#if 0 -void e_card_free (ECard *crd); -void e_card_prop_free (CardProperty prop); -CardProperty e_card_prop_empty (void); -int e_card_check_prop (CardProperty prop); -GList *e_card_load (GList *crdlist, char *fname); -void e_card_save (ECard *crd, FILE *fp); -char *e_card_to_vobj_string (ECard *card); -char *e_card_to_string (ECard *card); - -char *e_card_bday_str (ECardDate bday); -char *e_card_timezn_str (ECardTimeZone timezn); -char *e_card_geopos_str (ECardGeoPos geopos); -#endif - #endif /* ! __E_CARD_H__ */ -- cgit v1.2.3