aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-utils.h
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2008-11-22 00:13:47 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:13:47 +0800
commit6bab1e27908d283ca17d8ac09c7b61196b7025b9 (patch)
treeb86abbc7118a02fe9c16a9b08d7c3aae3a11f933 /libempathy/empathy-utils.h
parentcad875337faec4386962ed41a0efd15b720e73d4 (diff)
downloadgsoc2013-empathy-6bab1e27908d283ca17d8ac09c7b61196b7025b9.tar
gsoc2013-empathy-6bab1e27908d283ca17d8ac09c7b61196b7025b9.tar.gz
gsoc2013-empathy-6bab1e27908d283ca17d8ac09c7b61196b7025b9.tar.bz2
gsoc2013-empathy-6bab1e27908d283ca17d8ac09c7b61196b7025b9.tar.lz
gsoc2013-empathy-6bab1e27908d283ca17d8ac09c7b61196b7025b9.tar.xz
gsoc2013-empathy-6bab1e27908d283ca17d8ac09c7b61196b7025b9.tar.zst
gsoc2013-empathy-6bab1e27908d283ca17d8ac09c7b61196b7025b9.zip
Added empathy_send_file* helper functions to empathy-utils. (Jonny Lamb)
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1738
Diffstat (limited to 'libempathy/empathy-utils.h')
-rw-r--r--libempathy/empathy-utils.h7
1 files changed, 7 insertions, 0 deletions
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 <libmissioncontrol/mission-control.h>
#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