From 1d0c3ca25472ab9191be7c01d8d050b8a7a5ba4d Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Sat, 27 Oct 2001 04:25:42 +0000 Subject: add prototypes for addressbook_config_database, and 2001-10-26 Chris Toshok * gui/component/addressbook.h: add prototypes for addressbook_config_database, and addressbook_load_default_book. * gui/component/addressbook.c (addressbook_config_database): new function, so we aren't activating the db everywhere we need to use it. (addressbook_load_default_book): load the default book, after getting the uri from bonobo-config. svn path=/trunk/; revision=14200 --- addressbook/gui/component/addressbook.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'addressbook/gui/component/addressbook.h') diff --git a/addressbook/gui/component/addressbook.h b/addressbook/gui/component/addressbook.h index 5cf14dba12..9a99589578 100644 --- a/addressbook/gui/component/addressbook.h +++ b/addressbook/gui/component/addressbook.h @@ -2,14 +2,20 @@ #define __ADDRESSBOOK_H__ #include +#include +#include +#include #include +Bonobo_ConfigDatabase addressbook_config_database (CORBA_Environment *ev); + /* expand file:///foo/foo/ to file:///foo/foo/addressbook.db */ char * addressbook_expand_uri (const char *uri); /* use this instead of e_book_load_uri everywhere where you want the authentication to be handled for you. */ gboolean addressbook_load_uri (EBook *book, const char *uri, EBookCallback cb, gpointer closure); +gboolean addressbook_load_default_book (EBook *book, EBookCallback open_response, gpointer closure); BonoboControl *addressbook_factory_new_control (void); void addressbook_factory_init (void); -- cgit v1.2.3