2001-05-13 Chris Toshok <toshok@ximian.com> * gui/component/addressbook.h: add prototype for addressbook_expand_uri. * gui/component/addressbook-component.c (destination_folder_handle_drop): create an EBook for @physical_uri. (dnd_drop_book_open_cb): actually add the dropped cards. * gui/component/addressbook.c (addressbook_expand_uri): abstract this code out from the set_prop method so we can use it in the component. (set_prop): call addressbook_expand_uri. * backend/ebook/e-card.c (e_card_load_cards_from_string): new function. * backend/ebook/e-card.h: add prototype for e_card_load_cards_from_string. svn path=/trunk/; revision=9788
13 lines
365 B
C
13 lines
365 B
C
#ifndef __ADDRESSBOOK_H__
|
|
#define __ADDRESSBOOK_H__
|
|
|
|
#include <bonobo/bonobo-control.h>
|
|
|
|
/* expand file:///foo/foo/ to file:///foo/foo/addressbook.db */
|
|
char * addressbook_expand_uri (const char *uri);
|
|
|
|
BonoboControl *addressbook_factory_new_control (void);
|
|
void addressbook_factory_init (void);
|
|
|
|
#endif /* __ADDRESSBOOK_H__ */
|