diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2008-10-16 13:09:07 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2008-10-21 14:37:30 +0100 |
commit | b0516884c47fe5f7675c2162ce684ceeb864b857 (patch) | |
tree | f151bf9b5e65284481f51d2bb185d342db28072a /telepathy-glib/connection-internal.h | |
parent | 779ba57b058ce9f1995080ed7c8633a7a385a836 (diff) | |
download | telepathy-glib-b0516884c47fe5f7675c2162ce684ceeb864b857.tar.gz |
Move TpConnectionPrivate to connection-internal.h
This allows _tp_connection_get_contact_attribute_interfaces() to be
removed, since TpContact can just access the struct member directly.
Diffstat (limited to 'telepathy-glib/connection-internal.h')
-rw-r--r-- | telepathy-glib/connection-internal.h | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/telepathy-glib/connection-internal.h b/telepathy-glib/connection-internal.h index 00f274da0..5d4894c43 100644 --- a/telepathy-glib/connection-internal.h +++ b/telepathy-glib/connection-internal.h @@ -27,8 +27,25 @@ G_BEGIN_DECLS -const GArray *_tp_connection_get_contact_attribute_interfaces ( - TpConnection *self); +typedef void (*TpConnectionProc) (TpConnection *self); + +struct _TpConnectionPrivate { + /* GArray of TpConnectionProc */ + GArray *introspect_needed; + + TpConnectionStatus status; + TpConnectionStatusReason status_reason; + + TpConnectionAliasFlags alias_flags; + + /* GArray of GQuark */ + GArray *contact_attribute_interfaces; + + /* TpHandle => weak ref to TpContact */ + GHashTable *contacts; + + unsigned ready:1; +}; void _tp_connection_init_handle_refs (TpConnection *self); void _tp_connection_clean_up_handle_refs (TpConnection *self); |