summaryrefslogtreecommitdiff
path: root/telepathy-glib/connection-internal.h
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2011-06-08 21:56:36 +0200
committerXavier Claessens <xclaesse@gmail.com>2011-07-26 14:43:33 +0200
commit6738187d265dfc0987dd52a31ef0ae94534dbc23 (patch)
tree0a9bc4c7f8ce323cee0e65e1d6181fe8cf4ceb74 /telepathy-glib/connection-internal.h
parentc490a898d4d97a0521fb72a4e5759b5aa71e34a5 (diff)
downloadtelepathy-glib-6738187d265dfc0987dd52a31ef0ae94534dbc23.tar.gz
Add tp_connection_get_account to get a TpAccount from a TpConnection
This works only if the connection was created using a factory that has the corresponding account
Diffstat (limited to 'telepathy-glib/connection-internal.h')
-rw-r--r--telepathy-glib/connection-internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/telepathy-glib/connection-internal.h b/telepathy-glib/connection-internal.h
index 51773416d..470cbc40b 100644
--- a/telepathy-glib/connection-internal.h
+++ b/telepathy-glib/connection-internal.h
@@ -32,6 +32,8 @@ G_BEGIN_DECLS
typedef void (*TpConnectionProc) (TpConnection *self);
struct _TpConnectionPrivate {
+ TpAccount *account;
+
/* list of TpConnectionProc */
GList *introspect_needed;
@@ -104,6 +106,8 @@ TpContact *_tp_connection_lookup_contact (TpConnection *self, TpHandle handle);
* just for this would be overkill */
void _tp_contact_connection_invalidated (TpContact *contact);
+void _tp_connection_set_account (TpConnection *self, TpAccount *account);
+
/* connection-contact-info.c */
void _tp_connection_prepare_contact_info_async (TpProxy *proxy,
const TpProxyFeature *feature,