aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/e-addressbook-model.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-02-25 21:44:47 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-02-25 22:27:35 +0800
commitf5d1b8bc5a40700e81dc1162ba0206cd55daaa9e (patch)
tree41fc13949e27947070f8f9030f92dafac6206228 /addressbook/gui/widgets/e-addressbook-model.h
parent35eab4884cd7aa64139b3ef8ef98cdfa2d58ca53 (diff)
downloadgsoc2013-evolution-f5d1b8bc5a40700e81dc1162ba0206cd55daaa9e.tar
gsoc2013-evolution-f5d1b8bc5a40700e81dc1162ba0206cd55daaa9e.tar.gz
gsoc2013-evolution-f5d1b8bc5a40700e81dc1162ba0206cd55daaa9e.tar.bz2
gsoc2013-evolution-f5d1b8bc5a40700e81dc1162ba0206cd55daaa9e.tar.lz
gsoc2013-evolution-f5d1b8bc5a40700e81dc1162ba0206cd55daaa9e.tar.xz
gsoc2013-evolution-f5d1b8bc5a40700e81dc1162ba0206cd55daaa9e.tar.zst
gsoc2013-evolution-f5d1b8bc5a40700e81dc1162ba0206cd55daaa9e.zip
EAddressbookModel: Replace "registry" property with "client-cache".
Registry can still be accessed through e_client_cache_ref_registry(), but we'll want to utilize the client cache as well. e_addressbook_model_new() now takes an EClientCache instead of an ESourceRegistry, and e_addressbook_model_get_registry() is replaced by e_addressbook_model_get_client_cache().
Diffstat (limited to 'addressbook/gui/widgets/e-addressbook-model.h')
-rw-r--r--addressbook/gui/widgets/e-addressbook-model.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-model.h b/addressbook/gui/widgets/e-addressbook-model.h
index 0fb7be340f..c08fdb4319 100644
--- a/addressbook/gui/widgets/e-addressbook-model.h
+++ b/addressbook/gui/widgets/e-addressbook-model.h
@@ -23,6 +23,8 @@
#include <libebook/libebook.h>
+#include <e-util/e-util.h>
+
/* Standard GObject macros */
#define E_TYPE_ADDRESSBOOK_MODEL \
(e_addressbook_model_get_type ())
@@ -80,9 +82,8 @@ struct _EAddressbookModelClass {
GType e_addressbook_model_get_type (void);
EAddressbookModel *
- e_addressbook_model_new (ESourceRegistry *registry);
-ESourceRegistry *
- e_addressbook_model_get_registry
+ e_addressbook_model_new (EClientCache *client_cache);
+EClientCache * e_addressbook_model_get_client_cache
(EAddressbookModel *model);
/* Returns object with ref count of 1. */