aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-dispatcher.h
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-01-10 00:12:28 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-10 00:12:28 +0800
commit1f41dbb4da057920c23d902797d020119b9b57c4 (patch)
treec3b460f6e92c3e140c6b8b57d66e402111fdd3ef /libempathy/empathy-dispatcher.h
parentfe78304b4f6bd501d9e0feb7375eba0fb1ab01c5 (diff)
downloadgsoc2013-empathy-1f41dbb4da057920c23d902797d020119b9b57c4.tar
gsoc2013-empathy-1f41dbb4da057920c23d902797d020119b9b57c4.tar.gz
gsoc2013-empathy-1f41dbb4da057920c23d902797d020119b9b57c4.tar.bz2
gsoc2013-empathy-1f41dbb4da057920c23d902797d020119b9b57c4.tar.lz
gsoc2013-empathy-1f41dbb4da057920c23d902797d020119b9b57c4.tar.xz
gsoc2013-empathy-1f41dbb4da057920c23d902797d020119b9b57c4.tar.zst
gsoc2013-empathy-1f41dbb4da057920c23d902797d020119b9b57c4.zip
Add support for dispatching file transfers
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2135
Diffstat (limited to 'libempathy/empathy-dispatcher.h')
-rw-r--r--libempathy/empathy-dispatcher.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/libempathy/empathy-dispatcher.h b/libempathy/empathy-dispatcher.h
index 0c6cecb32..e1617c33b 100644
--- a/libempathy/empathy-dispatcher.h
+++ b/libempathy/empathy-dispatcher.h
@@ -80,14 +80,23 @@ void empathy_dispatcher_chat_with_contact_id (McAccount *account,
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);
+
+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);
+
+
/* Get the dispatcher singleton */
EmpathyDispatcher * empathy_get_dispatcher (void);
GType empathy_dispatcher_tube_get_type (void);
-void empathy_dispatcher_send_file (EmpathyContact *contact,
- GFile *gfile);
-
/* tube stuff */
EmpathyDispatcherTube *empathy_dispatcher_tube_ref (EmpathyDispatcherTube *tube);
void empathy_dispatcher_tube_unref (EmpathyDispatcherTube *tube);