aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-ft-handler.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo.cecchi@collabora.co.uk>2009-02-17 19:03:58 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-06-01 23:46:05 +0800
commit92778cc0fa77a252763dee87ed1f95f9c7e95cb1 (patch)
tree72912595c76168526d34caa82537395f7ed42171 /libempathy/empathy-ft-handler.h
parent98284c362f9bea1558a0b0c89f8f8d6a93c63074 (diff)
downloadgsoc2013-empathy-92778cc0fa77a252763dee87ed1f95f9c7e95cb1.tar.gz
gsoc2013-empathy-92778cc0fa77a252763dee87ed1f95f9c7e95cb1.tar.zst
gsoc2013-empathy-92778cc0fa77a252763dee87ed1f95f9c7e95cb1.zip
W.I.P. for heavy lifting on EmpathyTpFile.
Diffstat (limited to 'libempathy/empathy-ft-handler.h')
-rw-r--r--libempathy/empathy-ft-handler.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/libempathy/empathy-ft-handler.h b/libempathy/empathy-ft-handler.h
index c95e71c32..41e33d76c 100644
--- a/libempathy/empathy-ft-handler.h
+++ b/libempathy/empathy-ft-handler.h
@@ -53,13 +53,18 @@ typedef struct {
GObjectClass parent_class;
} EmpathyFTHandlerClass;
+typedef void (* EmpathyFTHandlerReadyCallback) (EmpathyFTHandler *handler,
+ GError *error,
+ gpointer user_data);
+
GType empathy_ft_handler_get_type (void);
/* public methods */
EmpathyFTHandler * empathy_ft_handler_new_outgoing (EmpathyContact *contact,
GFile *source);
-EmpathyFTHandler * empathy_ft_handler_new_incoming (EmpathyTpFile *tp_file,
- GFile *destination);
+void empathy_ft_handler_new_incoming (EmpathyTpFile *tp_file,
+ GFile *destination, EmpathyFTHandlerReadyCallback callback,
+ gpointer user_data);
void empathy_ft_handler_start_transfer (EmpathyFTHandler *handler,
GCancellable *cancellable);