diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-09-07 17:02:18 +0100 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-09-07 17:02:18 +0100 |
commit | 30a7ac413f66178c3cceae63baab487365ef8845 (patch) | |
tree | 5df5ce86127cc5fa4c83d2bbaff12decadadbfc2 /gabble | |
parent | 485c9d8ad1365cbee11b8c7769425d5d5c02fc27 (diff) |
connection: add more public helper functions for getting caps
This is useful so in a Gabble plugin you can get the TpBaseContactList
and then look at each contact's caps for whatever reason.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'gabble')
-rw-r--r-- | gabble/connection.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gabble/connection.h b/gabble/connection.h index 2de081b37..0c946cf1f 100644 --- a/gabble/connection.h +++ b/gabble/connection.h @@ -22,6 +22,7 @@ #define GABBLE_PLUGINS_CONNECTION_H #include <telepathy-glib/base-connection.h> +#include <telepathy-glib/base-contact-list.h> #include <gabble/capabilities-set.h> #include <gabble/types.h> @@ -71,6 +72,12 @@ const gchar * gabble_connection_pick_best_resource_for_caps ( GabbleCapabilitySetPredicate predicate, gconstpointer user_data); +TpBaseContactList * gabble_connection_get_contact_list ( + GabbleConnection *connection); + +WockyXep0115Capabilities * gabble_connection_get_caps ( + GabbleConnection *connection, TpHandle handle); + G_END_DECLS #endif |