aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/bbdb/bbdb.h
diff options
context:
space:
mode:
authorDevashish Sharma <dsharma@src.gnome.org>2006-01-23 19:32:11 +0800
committerDevashish Sharma <dsharma@src.gnome.org>2006-01-23 19:32:11 +0800
commitdd5f09119558ec41adf7f519e5ca0aa347f83e4c (patch)
tree27492f0d83f675f94a9dd2d3a1c4ab21ca4ae1cd /plugins/bbdb/bbdb.h
parent7b6cb9acabb2395294ce70e12df6ec4ac5416b67 (diff)
downloadgsoc2013-evolution-dd5f09119558ec41adf7f519e5ca0aa347f83e4c.tar.gz
gsoc2013-evolution-dd5f09119558ec41adf7f519e5ca0aa347f83e4c.tar.zst
gsoc2013-evolution-dd5f09119558ec41adf7f519e5ca0aa347f83e4c.zip
Added an option to select a different addressbook for gaim buddies. Earlier it used the same addressbook as that used by Automatic Contacts.
svn path=/trunk/; revision=31277
Diffstat (limited to 'plugins/bbdb/bbdb.h')
-rw-r--r--plugins/bbdb/bbdb.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/bbdb/bbdb.h b/plugins/bbdb/bbdb.h
index 5fe9e39bdd..d1318b7d03 100644
--- a/plugins/bbdb/bbdb.h
+++ b/plugins/bbdb/bbdb.h
@@ -5,13 +5,18 @@
#define GCONF_KEY_ENABLE "/apps/evolution/autocontacts/enable_autocontacts"
#define GCONF_KEY_ENABLE_GAIM "/apps/evolution/autocontacts/auto_sync_gaim"
#define GCONF_KEY_WHICH_ADDRESSBOOK "/apps/evolution/autocontacts/addressbook_source"
+#define GCONF_KEY_WHICH_ADDRESSBOOK_GAIM "/apps/evolution/autocontacts/gaim_addressbook_source"
#define GCONF_KEY_GAIM_LAST_SYNC "/apps/evolution/autocontacts/gaim_last_sync_time"
+#define GAIM_ADDRESSBOOK 1
+#define AUTOMATIC_CONTACTS_ADDRESSBOOK 0
+
+
/* How often to poll the buddy list for changes (every two minutes) */
#define BBDB_BLIST_CHECK_INTERVAL (2 * 60 * 1000)
/* bbdb.c */
-EBook *bbdb_open_addressbook (void);
+EBook *bbdb_open_addressbook (int type);
gboolean bbdb_check_gaim_enabled (void);
/* gaimbuddies.c */