From 6bab1e27908d283ca17d8ac09c7b61196b7025b9 Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Fri, 21 Nov 2008 16:13:47 +0000 Subject: Added empathy_send_file* helper functions to empathy-utils. (Jonny Lamb) Signed-off-by: Jonny Lamb svn path=/trunk/; revision=1738 --- libempathy/empathy-utils.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libempathy/empathy-utils.h') diff --git a/libempathy/empathy-utils.h b/libempathy/empathy-utils.h index afde4d3a7..7059f6330 100644 --- a/libempathy/empathy-utils.h +++ b/libempathy/empathy-utils.h @@ -36,6 +36,7 @@ #include #include "empathy-contact.h" +#include "empathy-file.h" G_BEGIN_DECLS @@ -122,6 +123,12 @@ void empathy_connection_request_channel (TpConnection *proxy, gpointer user_data, GDestroyNotify destroy, GObject *weak_object); +EmpathyFile * empathy_send_file_from_stream (EmpathyContact *contact, + GInputStream *in_stream, + const gchar *filename, + guint64 size); +EmpathyFile * empathy_send_file (EmpathyContact *contact, + GFile *file); void empathy_init (void); G_END_DECLS -- cgit v1.2.3