diff options
author | Chris Toshok <toshok@ximian.com> | 2001-10-27 12:25:42 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2001-10-27 12:25:42 +0800 |
commit | 1d0c3ca25472ab9191be7c01d8d050b8a7a5ba4d (patch) | |
tree | a38eedcd6d3bf1b57bc980ea71a1b5210fe28d4c /addressbook/gui/component/addressbook.h | |
parent | d08917c280e5297873588cd2aba3d9c2ce89a1a3 (diff) | |
download | gsoc2013-evolution-1d0c3ca25472ab9191be7c01d8d050b8a7a5ba4d.tar gsoc2013-evolution-1d0c3ca25472ab9191be7c01d8d050b8a7a5ba4d.tar.gz gsoc2013-evolution-1d0c3ca25472ab9191be7c01d8d050b8a7a5ba4d.tar.bz2 gsoc2013-evolution-1d0c3ca25472ab9191be7c01d8d050b8a7a5ba4d.tar.lz gsoc2013-evolution-1d0c3ca25472ab9191be7c01d8d050b8a7a5ba4d.tar.xz gsoc2013-evolution-1d0c3ca25472ab9191be7c01d8d050b8a7a5ba4d.tar.zst gsoc2013-evolution-1d0c3ca25472ab9191be7c01d8d050b8a7a5ba4d.zip |
add prototypes for addressbook_config_database, and
2001-10-26 Chris Toshok <toshok@ximian.com>
* 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
Diffstat (limited to 'addressbook/gui/component/addressbook.h')
-rw-r--r-- | addressbook/gui/component/addressbook.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 <bonobo/bonobo-control.h> +#include <bonobo-conf/bonobo-config-database.h> +#include <bonobo/bonobo-object.h> +#include <bonobo/bonobo-moniker-util.h> #include <ebook/e-book.h> +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); |