aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-ft-handler.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo.cecchi@collabora.co.uk>2009-05-03 03:10:38 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-06-01 23:47:36 +0800
commita37cd739d75587cc5a38389586a6f8a5cdd6e083 (patch)
tree26bc461c23eba52f3b921fb02a0fd76bf4aef512 /libempathy/empathy-ft-handler.h
parent7d8254421a1b91516f35255c1a149c288fc92d22 (diff)
downloadgsoc2013-empathy-a37cd739d75587cc5a38389586a6f8a5cdd6e083.tar
gsoc2013-empathy-a37cd739d75587cc5a38389586a6f8a5cdd6e083.tar.gz
gsoc2013-empathy-a37cd739d75587cc5a38389586a6f8a5cdd6e083.tar.bz2
gsoc2013-empathy-a37cd739d75587cc5a38389586a6f8a5cdd6e083.tar.lz
gsoc2013-empathy-a37cd739d75587cc5a38389586a6f8a5cdd6e083.tar.xz
gsoc2013-empathy-a37cd739d75587cc5a38389586a6f8a5cdd6e083.tar.zst
gsoc2013-empathy-a37cd739d75587cc5a38389586a6f8a5cdd6e083.zip
Add is_completed and is_cancelled API
Add some API to get the state of the handler.
Diffstat (limited to 'libempathy/empathy-ft-handler.h')
-rw-r--r--libempathy/empathy-ft-handler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy/empathy-ft-handler.h b/libempathy/empathy-ft-handler.h
index 53a12e6f8..221f4e5b5 100644
--- a/libempathy/empathy-ft-handler.h
+++ b/libempathy/empathy-ft-handler.h
@@ -82,6 +82,8 @@ EmpFileTransferState empathy_ft_handler_get_state (EmpathyFTHandler *handler,
gboolean empathy_ft_handler_is_incoming (EmpathyFTHandler *handler);
guint64 empathy_ft_handler_get_transferred_bytes (EmpathyFTHandler *handler);
guint64 empathy_ft_handler_get_total_bytes (EmpathyFTHandler *handler);
+gboolean empathy_ft_handler_is_completed (EmpathyFTHandler *handler);
+gboolean empathy_ft_handler_is_cancelled (EmpathyFTHandler *handler);
G_END_DECLS