diff options
author | Chris Toshok <toshok@ximian.com> | 2004-01-07 05:43:07 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2004-01-07 05:43:07 +0800 |
commit | 38941f937253e2c208e0165267bd9f61a075988c (patch) | |
tree | 5cef0437cfcc6a95c4a73a59de268a60a3b73b67 /addressbook/gui/component/addressbook-component.h | |
parent | 10fdfe795f82850d8e6dcf1923bc6780eced0763 (diff) | |
download | gsoc2013-evolution-38941f937253e2c208e0165267bd9f61a075988c.tar gsoc2013-evolution-38941f937253e2c208e0165267bd9f61a075988c.tar.gz gsoc2013-evolution-38941f937253e2c208e0165267bd9f61a075988c.tar.bz2 gsoc2013-evolution-38941f937253e2c208e0165267bd9f61a075988c.tar.lz gsoc2013-evolution-38941f937253e2c208e0165267bd9f61a075988c.tar.xz gsoc2013-evolution-38941f937253e2c208e0165267bd9f61a075988c.tar.zst gsoc2013-evolution-38941f937253e2c208e0165267bd9f61a075988c.zip |
add addressbook-migrate.[ch].
2004-01-06 Chris Toshok <toshok@ximian.com>
* gui/component/Makefile.am (libevolution_addressbook_la_SOURCES):
add addressbook-migrate.[ch].
* gui/component/addressbook-component.c
(addressbook_component_init): remove the source creation from
here, it's in the migration code now.
(impl_upgradeFromVersion): new function, call the
addressbook-migration stuff.
(addressbook_component_class_init): fill in
epv->upgradeFromVersion, and call smime_component_init.
(addressbook_component_peek_base_directory): new function.
(addressbook_component_peek_source_list): same.
* gui/component/addressbook-component.h: add prototypes for
_peek_base_directory and _peek_source_list.
* gui/component/addressbook-migrate.[ch]: add migration code to
convert stuff from 1.x over to 1.5/2.0.
svn path=/trunk/; revision=24079
Diffstat (limited to 'addressbook/gui/component/addressbook-component.h')
-rw-r--r-- | addressbook/gui/component/addressbook-component.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/addressbook/gui/component/addressbook-component.h b/addressbook/gui/component/addressbook-component.h index f08f54aaaf..70cf548c22 100644 --- a/addressbook/gui/component/addressbook-component.h +++ b/addressbook/gui/component/addressbook-component.h @@ -27,6 +27,7 @@ #include "Evolution.h" #include "e-activity-handler.h" +#include <libedataserver/e-source-list.h> #define ADDRESSBOOK_TYPE_COMPONENT (addressbook_component_get_type ()) #define ADDRESSBOOK_COMPONENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ADDRESSBOOK_TYPE_COMPONENT, AddressbookComponent)) @@ -56,7 +57,8 @@ GType addressbook_component_get_type (void); AddressbookComponent *addressbook_component_peek (void); -EActivityHandler *addressbook_component_peek_activity_handler (AddressbookComponent *component); - +const char * addressbook_component_peek_base_directory (AddressbookComponent *component); +EActivityHandler *addressbook_component_peek_activity_handler (AddressbookComponent *component); +ESourceList *addressbook_component_peek_source_list (AddressbookComponent *component); #endif /* _ADDRESSBOOK_COMPONENT_H_ */ |