diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-12-08 13:16:09 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-06-03 11:00:39 +0800 |
commit | 571e5e17f8b3dae8ecd81cd1f437ebb128159575 (patch) | |
tree | 5c96bd734f741f6af41eb97ac2657dae93f4cb20 /addressbook/gui/widgets/e-addressbook-model.h | |
parent | b99b09e4570d7b24c23fc8b97606eaa9057bbd5c (diff) | |
download | gsoc2013-evolution-571e5e17f8b3dae8ecd81cd1f437ebb128159575.tar gsoc2013-evolution-571e5e17f8b3dae8ecd81cd1f437ebb128159575.tar.gz gsoc2013-evolution-571e5e17f8b3dae8ecd81cd1f437ebb128159575.tar.bz2 gsoc2013-evolution-571e5e17f8b3dae8ecd81cd1f437ebb128159575.tar.lz gsoc2013-evolution-571e5e17f8b3dae8ecd81cd1f437ebb128159575.tar.xz gsoc2013-evolution-571e5e17f8b3dae8ecd81cd1f437ebb128159575.tar.zst gsoc2013-evolution-571e5e17f8b3dae8ecd81cd1f437ebb128159575.zip |
Adapt addressbook/gui/widgets to the new ESource API.
Diffstat (limited to 'addressbook/gui/widgets/e-addressbook-model.h')
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-model.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-model.h b/addressbook/gui/widgets/e-addressbook-model.h index 680352c717..24c4302457 100644 --- a/addressbook/gui/widgets/e-addressbook-model.h +++ b/addressbook/gui/widgets/e-addressbook-model.h @@ -24,6 +24,7 @@ #include <libebook/e-book-client.h> #include <libebook/e-book-client-view.h> #include <libebook/e-book-query.h> +#include <libedataserver/e-source-registry.h> /* Standard GObject macros */ #define E_TYPE_ADDRESSBOOK_MODEL \ @@ -83,7 +84,10 @@ struct _EAddressbookModelClass { GType e_addressbook_model_get_type (void); EAddressbookModel * - e_addressbook_model_new (void); + e_addressbook_model_new (ESourceRegistry *registry); +ESourceRegistry * + e_addressbook_model_get_registry + (EAddressbookModel *model); /* Returns object with ref count of 1. */ EContact * e_addressbook_model_get_contact (EAddressbookModel *model, |