summaryrefslogtreecommitdiff
path: root/telepathy-glib/connection-internal.h
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2011-06-13 20:14:14 +0200
committerXavier Claessens <xclaesse@gmail.com>2011-08-04 21:42:54 +0200
commit4834baa40d6270b12270d2ee7fa49230318db4e3 (patch)
tree342d7c1d0edbf54a780c31e418953f712f1b4b5f /telepathy-glib/connection-internal.h
parent3c45ff1964d34ebd48cb0ca46d0b4ea06767f585 (diff)
downloadtelepathy-glib-4834baa40d6270b12270d2ee7fa49230318db4e3.tar.gz
Prepare TpContact objects for the ContactList
If TpConnection has TP_CONNECTION_FEATURE_CONTACT_LIST, also create TpContact objects for the roster. Add tp_connection_dup_contact_list() to get them.
Diffstat (limited to 'telepathy-glib/connection-internal.h')
-rw-r--r--telepathy-glib/connection-internal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/telepathy-glib/connection-internal.h b/telepathy-glib/connection-internal.h
index c4d9ed234..fe064bc4b 100644
--- a/telepathy-glib/connection-internal.h
+++ b/telepathy-glib/connection-internal.h
@@ -77,6 +77,12 @@ struct _TpConnectionPrivate {
gboolean contact_list_persists;
gboolean can_change_contact_list;
gboolean request_uses_message;
+ /* TpHandle => ref to TpContact */
+ GHashTable *roster;
+ /* Queue of owned ContactsChangedItem */
+ GQueue *contacts_changed_queue;
+ gboolean roster_fetched;
+ gboolean contact_list_properties_fetched;
/* ContactGroups properties */
gboolean disjoint_groups;
@@ -144,6 +150,7 @@ void _tp_connection_prepare_contact_groups_async (TpProxy *proxy,
const TpProxyFeature *feature,
GAsyncReadyCallback callback,
gpointer user_data);
+void _tp_connection_contacts_changed_item_free (gpointer data);
G_END_DECLS