aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-file.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo.cecchi@collabora.co.uk>2009-05-16 22:04:11 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-06-01 23:53:19 +0800
commitb0fb21acabb015693954ba3d2a56ea2c097167a8 (patch)
tree56e68dcd79b7e3e5c604435cb6a1fdcfdac0470a /libempathy/empathy-tp-file.h
parentee333d5882eeae8069bda92903cdc0f004dc355c (diff)
downloadgsoc2013-empathy-b0fb21acabb015693954ba3d2a56ea2c097167a8.tar
gsoc2013-empathy-b0fb21acabb015693954ba3d2a56ea2c097167a8.tar.gz
gsoc2013-empathy-b0fb21acabb015693954ba3d2a56ea2c097167a8.tar.bz2
gsoc2013-empathy-b0fb21acabb015693954ba3d2a56ea2c097167a8.tar.lz
gsoc2013-empathy-b0fb21acabb015693954ba3d2a56ea2c097167a8.tar.xz
gsoc2013-empathy-b0fb21acabb015693954ba3d2a56ea2c097167a8.tar.zst
gsoc2013-empathy-b0fb21acabb015693954ba3d2a56ea2c097167a8.zip
Document EmpathyTpFile
Diffstat (limited to 'libempathy/empathy-tp-file.h')
-rw-r--r--libempathy/empathy-tp-file.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-file.h b/libempathy/empathy-tp-file.h
index 9c9b7217f..0d7d8efc0 100644
--- a/libempathy/empathy-tp-file.h
+++ b/libempathy/empathy-tp-file.h
@@ -67,11 +67,23 @@ struct _EmpathyTpFileClass {
/* prototypes for operation callbacks */
+/**
+ * EmpathyTpFileProgressCallback:
+ * @tp_file: the #EmpathyTpFile being transferred
+ * @current_bytes: the bytes currently transferred by the operation
+ * @user_data: user data passed to the callback
+ **/
typedef void (* EmpathyTpFileProgressCallback)
(EmpathyTpFile *tp_file,
guint64 current_bytes,
gpointer user_data);
+/**
+ * EmpathyTpFileOperationCallback:
+ * @tp_file: the #EmpathyTpFile that has been transferred
+ * @error: a #GError if the operation didn't succeed, %NULL otherwise
+ * @user_data: user data passed to the callback
+ **/
typedef void (* EmpathyTpFileOperationCallback)
(EmpathyTpFile *tp_file,
const GError *error,