aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/ebook/e-card-types.h
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2002-02-02 02:41:41 +0800
committerChris Lahey <clahey@src.gnome.org>2002-02-02 02:41:41 +0800
commit8555a05de522d9b185db2f2884b6806fe0d44cf6 (patch)
treeacf59f8a9501f4e994094d6b20c3688577791e8f /addressbook/backend/ebook/e-card-types.h
parent3263cd26212cfeaa820882499ffad95f67937b40 (diff)
downloadgsoc2013-evolution-8555a05de522d9b185db2f2884b6806fe0d44cf6.tar
gsoc2013-evolution-8555a05de522d9b185db2f2884b6806fe0d44cf6.tar.gz
gsoc2013-evolution-8555a05de522d9b185db2f2884b6806fe0d44cf6.tar.bz2
gsoc2013-evolution-8555a05de522d9b185db2f2884b6806fe0d44cf6.tar.lz
gsoc2013-evolution-8555a05de522d9b185db2f2884b6806fe0d44cf6.tar.xz
gsoc2013-evolution-8555a05de522d9b185db2f2884b6806fe0d44cf6.tar.zst
gsoc2013-evolution-8555a05de522d9b185db2f2884b6806fe0d44cf6.zip
Made this preserve addressbook flags other than the first three.
2002-02-01 Christopher James Lahey <clahey@ximian.com> * backend/ebook/e-card-simple.c (e_card_simple_sync_card): Made this preserve addressbook flags other than the first three. * backend/ebook/e-card-types.h: Added E_CARD_ADDR_MASK and E_CARD_ADDR_DEFAULT. * backend/ebook/e-card.c (get_address_flags): Added "PREF" to E_CARD_ADDR_DEFAULT mapping. * backend/ebook/test-client.c: Added #include "e-book-util.h". svn path=/trunk/; revision=15546
Diffstat (limited to 'addressbook/backend/ebook/e-card-types.h')
-rw-r--r--addressbook/backend/ebook/e-card-types.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/addressbook/backend/ebook/e-card-types.h b/addressbook/backend/ebook/e-card-types.h
index 588a1f5e68..8d35c54924 100644
--- a/addressbook/backend/ebook/e-card-types.h
+++ b/addressbook/backend/ebook/e-card-types.h
@@ -60,12 +60,14 @@ typedef struct {
/* DELIVERY ADDRESSING PROPERTIES */
typedef enum {
- E_CARD_ADDR_HOME = 1 << 0,
- E_CARD_ADDR_WORK = 1 << 1,
- E_CARD_ADDR_POSTAL = 1 << 2,
- E_CARD_ADDR_PARCEL = 1 << 3,
- E_CARD_ADDR_DOM = 1 << 4,
- E_CARD_ADDR_INTL = 1 << 5
+ E_CARD_ADDR_HOME = 1 << 0,
+ E_CARD_ADDR_WORK = 1 << 1,
+ E_CARD_ADDR_POSTAL = 1 << 2,
+ E_CARD_ADDR_MASK = 7,
+ E_CARD_ADDR_PARCEL = 1 << 3,
+ E_CARD_ADDR_DOM = 1 << 4,
+ E_CARD_ADDR_INTL = 1 << 5,
+ E_CARD_ADDR_DEFAULT = 1 << 6
} ECardAddressFlags;
typedef struct {