aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-list-editor/e-contact-list-model.h
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2011-06-28 17:41:22 +0800
committerMilan Crha <mcrha@redhat.com>2011-06-28 17:41:22 +0800
commit913fbc65742343885dbde4e1b02105809d6aa0a8 (patch)
tree094670167fb8d5b620c1d0cd7753d4c7a9316be4 /addressbook/gui/contact-list-editor/e-contact-list-model.h
parent644214f51a06ea4166d1c3c8d8d92f8020f33c3d (diff)
downloadgsoc2013-evolution-913fbc65742343885dbde4e1b02105809d6aa0a8.tar
gsoc2013-evolution-913fbc65742343885dbde4e1b02105809d6aa0a8.tar.gz
gsoc2013-evolution-913fbc65742343885dbde4e1b02105809d6aa0a8.tar.bz2
gsoc2013-evolution-913fbc65742343885dbde4e1b02105809d6aa0a8.tar.lz
gsoc2013-evolution-913fbc65742343885dbde4e1b02105809d6aa0a8.tar.xz
gsoc2013-evolution-913fbc65742343885dbde4e1b02105809d6aa0a8.tar.zst
gsoc2013-evolution-913fbc65742343885dbde4e1b02105809d6aa0a8.zip
Bug #224687 - Create lists of lists
Diffstat (limited to 'addressbook/gui/contact-list-editor/e-contact-list-model.h')
-rw-r--r--addressbook/gui/contact-list-editor/e-contact-list-model.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-model.h b/addressbook/gui/contact-list-editor/e-contact-list-model.h
index 43d3288756..b902658365 100644
--- a/addressbook/gui/contact-list-editor/e-contact-list-model.h
+++ b/addressbook/gui/contact-list-editor/e-contact-list-model.h
@@ -46,30 +46,35 @@
G_BEGIN_DECLS
typedef struct _EContactListModel EContactListModel;
+typedef struct _EContactListModelPrivate EContactListModelPrivate;
typedef struct _EContactListModelClass EContactListModelClass;
struct _EContactListModel {
- GtkListStore parent;
+ GtkTreeStore parent;
+ EContactListModelPrivate *priv;
};
struct _EContactListModelClass {
- GtkListStoreClass parent_class;
+ GtkTreeStoreClass parent_class;
};
GType e_contact_list_model_get_type (void);
GtkTreeModel * e_contact_list_model_new (void);
gboolean e_contact_list_model_has_email (EContactListModel *model,
const gchar *email);
-void e_contact_list_model_add_destination
+
+gboolean e_contact_list_model_has_uid (EContactListModel *model,
+ const gchar *uid);
+
+GtkTreePath * e_contact_list_model_add_destination
(EContactListModel *model,
- EDestination *dest);
-void e_contact_list_model_add_email (EContactListModel *model,
- const gchar *email);
+ EDestination *dest,
+ GtkTreeIter *parent);
void e_contact_list_model_add_contact (EContactListModel *model,
EContact *contact,
gint email_num);
void e_contact_list_model_remove_row (EContactListModel *model,
- gint row);
+ GtkTreeIter *iter);
void e_contact_list_model_remove_all (EContactListModel *model);
EDestination * e_contact_list_model_get_destination
(EContactListModel *model,