aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/ebook/e-card-types.h
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-08-03 22:38:20 +0800
committerChris Lahey <clahey@src.gnome.org>2001-08-03 22:38:20 +0800
commit4d2170603714dc34ea1c051b23340e81fd911159 (patch)
tree54ead4588f6c91bc565df5eefe2b87ea24a1da2b /addressbook/backend/ebook/e-card-types.h
parent0039ef5422e980484c47d2fe97c3edbf63edd5b8 (diff)
downloadgsoc2013-evolution-4d2170603714dc34ea1c051b23340e81fd911159.tar
gsoc2013-evolution-4d2170603714dc34ea1c051b23340e81fd911159.tar.gz
gsoc2013-evolution-4d2170603714dc34ea1c051b23340e81fd911159.tar.bz2
gsoc2013-evolution-4d2170603714dc34ea1c051b23340e81fd911159.tar.lz
gsoc2013-evolution-4d2170603714dc34ea1c051b23340e81fd911159.tar.xz
gsoc2013-evolution-4d2170603714dc34ea1c051b23340e81fd911159.tar.zst
gsoc2013-evolution-4d2170603714dc34ea1c051b23340e81fd911159.zip
Made the list of E_CARD_PHONE types in phone_correspondences more complete
2001-08-03 Christopher James Lahey <clahey@ximian.com> * backend/ebook/e-card-simple.c (e_card_simple_sync_card, fill_in_info): Made the list of E_CARD_PHONE types in phone_correspondences more complete by adding the new 5 E_CARD_PHONE types. Also, made it a bit less restrictive for some types (E_CARD_PHONE_HOME will actually match E_CARD_SIMPLE_PHONE_ID_HOME now.) Made e_card_simple_sync_card and fill_in_info search for an exact match in the list of phone_correspondences and then look for a partial match. Got rid of not going forward when doing a remove from an EList since EList handles this case automatically. * backend/ebook/e-card-types.h: Added E_CARD_PHONE types for assistant, callback, radio, telex, and ttytdd. * backend/ebook/e-card.c (get_phone_flags, set_phone_flags): Handle the new E_CARD_PHONE types. svn path=/trunk/; revision=11612
Diffstat (limited to 'addressbook/backend/ebook/e-card-types.h')
-rw-r--r--addressbook/backend/ebook/e-card-types.h31
1 files changed, 18 insertions, 13 deletions
diff --git a/addressbook/backend/ebook/e-card-types.h b/addressbook/backend/ebook/e-card-types.h
index 542ca13517..13854c30e7 100644
--- a/addressbook/backend/ebook/e-card-types.h
+++ b/addressbook/backend/ebook/e-card-types.h
@@ -30,19 +30,24 @@ typedef struct {
/* TELECOMMUNICATIONS ADDRESSING PROPERTIES */
typedef enum {
- E_CARD_PHONE_PREF = 1 << 0,
- E_CARD_PHONE_WORK = 1 << 1,
- E_CARD_PHONE_HOME = 1 << 2,
- E_CARD_PHONE_VOICE = 1 << 3,
- E_CARD_PHONE_FAX = 1 << 4,
- E_CARD_PHONE_MSG = 1 << 5,
- E_CARD_PHONE_CELL = 1 << 6,
- E_CARD_PHONE_PAGER = 1 << 7,
- E_CARD_PHONE_BBS = 1 << 8,
- E_CARD_PHONE_MODEM = 1 << 9,
- E_CARD_PHONE_CAR = 1 << 10,
- E_CARD_PHONE_ISDN = 1 << 11,
- E_CARD_PHONE_VIDEO = 1 << 12
+ E_CARD_PHONE_PREF = 1 << 0,
+ E_CARD_PHONE_WORK = 1 << 1,
+ E_CARD_PHONE_HOME = 1 << 2,
+ E_CARD_PHONE_VOICE = 1 << 3,
+ E_CARD_PHONE_FAX = 1 << 4,
+ E_CARD_PHONE_MSG = 1 << 5,
+ E_CARD_PHONE_CELL = 1 << 6,
+ E_CARD_PHONE_PAGER = 1 << 7,
+ E_CARD_PHONE_BBS = 1 << 8,
+ E_CARD_PHONE_MODEM = 1 << 9,
+ E_CARD_PHONE_CAR = 1 << 10,
+ E_CARD_PHONE_ISDN = 1 << 11,
+ E_CARD_PHONE_VIDEO = 1 << 12,
+ E_CARD_PHONE_ASSISTANT = 1 << 13,
+ E_CARD_PHONE_CALLBACK = 1 << 14,
+ E_CARD_PHONE_RADIO = 1 << 15,
+ E_CARD_PHONE_TELEX = 1 << 16,
+ E_CARD_PHONE_TTYTDD = 1 << 17,
} ECardPhoneFlags;
typedef struct {