diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-01-10 00:12:57 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-01-10 00:12:57 +0800 |
commit | 802d468fe9f97763dc298236a5a79b8f835407d7 (patch) | |
tree | f3d8d68f31a408a6a7f4e9087b630ea96371a8b0 /libempathy/empathy-dispatcher.h | |
parent | b52e8ba0bf98b9d7f27b2ab2e496f0f11dc3a5be (diff) | |
download | gsoc2013-empathy-802d468fe9f97763dc298236a5a79b8f835407d7.tar gsoc2013-empathy-802d468fe9f97763dc298236a5a79b8f835407d7.tar.gz gsoc2013-empathy-802d468fe9f97763dc298236a5a79b8f835407d7.tar.bz2 gsoc2013-empathy-802d468fe9f97763dc298236a5a79b8f835407d7.tar.lz gsoc2013-empathy-802d468fe9f97763dc298236a5a79b8f835407d7.tar.xz gsoc2013-empathy-802d468fe9f97763dc298236a5a79b8f835407d7.tar.zst gsoc2013-empathy-802d468fe9f97763dc298236a5a79b8f835407d7.zip |
Add request muc channels to the dispatcher
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
svn path=/trunk/; revision=2143
Diffstat (limited to 'libempathy/empathy-dispatcher.h')
-rw-r--r-- | libempathy/empathy-dispatcher.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libempathy/empathy-dispatcher.h b/libempathy/empathy-dispatcher.h index e1617c33b..d43dcf89d 100644 --- a/libempathy/empathy-dispatcher.h +++ b/libempathy/empathy-dispatcher.h @@ -68,35 +68,35 @@ typedef void (EmpathyDispatcherRequestCb) ( GType empathy_dispatcher_get_type (void) G_GNUC_CONST; +/* Requesting 1 to 1 stream media channels */ void empathy_dispatcher_call_with_contact (EmpathyContact *contact, EmpathyDispatcherRequestCb *callback, gpointer user_data); void empathy_dispatcher_call_with_contact_id (McAccount *account, const gchar *contact_id, EmpathyDispatcherRequestCb *callback, gpointer user_data); +/* Requesting 1 to 1 text channels */ void empathy_dispatcher_chat_with_contact_id (McAccount *account, const gchar *contact_id, EmpathyDispatcherRequestCb *callback, gpointer user_data); void empathy_dispatcher_chat_with_contact (EmpathyContact *contact, EmpathyDispatcherRequestCb *callback, gpointer user_data); -void empathy_dispatcher_chat_with_contact_id (McAccount *account, - const gchar *contact_id, EmpathyDispatcherRequestCb *callback, - gpointer user_data); -void empathy_dispatcher_chat_with_contact (EmpathyContact *contact, - EmpathyDispatcherRequestCb *callback, gpointer user_data); - +/* Request a file channel to a specific contact */ void empathy_dispatcher_send_file_to_contact (EmpathyContact *contact, const gchar *filename, guint64 size, guint64 date, const gchar *content_type, EmpathyDispatcherRequestCb *callback, gpointer user_data); +/* Request a muc channel */ +void empathy_dispatcher_join_muc (McAccount *account, + const gchar *roomname, EmpathyDispatcherRequestCb *callback, + gpointer user_data); /* Get the dispatcher singleton */ EmpathyDispatcher * empathy_get_dispatcher (void); GType empathy_dispatcher_tube_get_type (void); - /* tube stuff */ EmpathyDispatcherTube *empathy_dispatcher_tube_ref (EmpathyDispatcherTube *tube); void empathy_dispatcher_tube_unref (EmpathyDispatcherTube *tube); |