diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2011-06-13 20:14:14 +0200 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2011-08-04 21:42:54 +0200 |
commit | 4834baa40d6270b12270d2ee7fa49230318db4e3 (patch) | |
tree | 342d7c1d0edbf54a780c31e418953f712f1b4b5f /telepathy-glib/connection-internal.h | |
parent | 3c45ff1964d34ebd48cb0ca46d0b4ea06767f585 (diff) | |
download | telepathy-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.h | 7 |
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 |