aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-utils.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-08-05 19:13:31 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-10-18 16:56:40 +0800
commit588247c8bba25fd9ed087e1f8f06997c5c7534f2 (patch)
tree509fc189e576f84392566af0b69cca18ac6c5271 /libempathy/empathy-utils.h
parent5af3f211b66a1278c44ad6815224e00dd26b795a (diff)
downloadgsoc2013-empathy-588247c8bba25fd9ed087e1f8f06997c5c7534f2.tar
gsoc2013-empathy-588247c8bba25fd9ed087e1f8f06997c5c7534f2.tar.gz
gsoc2013-empathy-588247c8bba25fd9ed087e1f8f06997c5c7534f2.tar.bz2
gsoc2013-empathy-588247c8bba25fd9ed087e1f8f06997c5c7534f2.tar.lz
gsoc2013-empathy-588247c8bba25fd9ed087e1f8f06997c5c7534f2.tar.xz
gsoc2013-empathy-588247c8bba25fd9ed087e1f8f06997c5c7534f2.tar.zst
gsoc2013-empathy-588247c8bba25fd9ed087e1f8f06997c5c7534f2.zip
factor out empathy_individual_can_audio_video_call()
Also allow caller to get a ref on the EmpathyContact supporting audio/video. https://bugzilla.gnome.org/show_bug.cgi?id=661981
Diffstat (limited to 'libempathy/empathy-utils.h')
-rw-r--r--libempathy/empathy-utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libempathy/empathy-utils.h b/libempathy/empathy-utils.h
index ed603a80f..4983c89a6 100644
--- a/libempathy/empathy-utils.h
+++ b/libempathy/empathy-utils.h
@@ -113,6 +113,11 @@ gboolean empathy_account_has_uri_scheme_tel (TpAccount *account);
TpContact * empathy_get_tp_contact_for_individual (FolksIndividual *individual,
TpConnection *conn);
+void empathy_individual_can_audio_video_call (FolksIndividual *individual,
+ gboolean *can_audio_call,
+ gboolean *can_video_call,
+ EmpathyContact **out_contact);
+
/* Copied from wocky/wocky-utils.h */
#define empathy_implement_finish_void(source, tag) \