From 0fdd199a2b2edccaec296602d3c93121455d2550 Mon Sep 17 00:00:00 2001 From: Jon Trowbridge Date: Tue, 6 Mar 2001 17:57:34 +0000 Subject: Added. Just encapsulates opening 2001-03-06 Jon Trowbridge * backend/ebook/e-book.c (e_book_load_local_address_book): Added. Just encapsulates opening file://~username/evolution/local/Contactes/addressbook.db, so that path doesn't need to be hardwired in throughout the code. svn path=/trunk/; revision=8570 --- addressbook/backend/ebook/e-book.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'addressbook/backend/ebook/e-book.h') diff --git a/addressbook/backend/ebook/e-book.h b/addressbook/backend/ebook/e-book.h index 6a68e010e4..d992f63471 100644 --- a/addressbook/backend/ebook/e-book.h +++ b/addressbook/backend/ebook/e-book.h @@ -53,16 +53,23 @@ typedef void (*EBookFieldsCallback) (EBook *book, EBookStatus status, EList *fie /* Creating a new addressbook. */ EBook *e_book_new (void); + gboolean e_book_load_uri (EBook *book, const char *uri, EBookCallback open_response, gpointer closure); void e_book_unload_uri (EBook *book); + +gboolean e_book_load_local_address_book (EBook *book, + EBookCallback open_response, + gpointer closure); + char *e_book_get_static_capabilities (EBook *book); gboolean e_book_get_supported_fields (EBook *book, - EBookFieldsCallback cb, - gpointer closure); + EBookFieldsCallback cb, + gpointer closure); + /* User authentication. */ void e_book_authenticate_user (EBook *book, -- cgit