diff options
author | Cosimo Cecchi <cosimo.cecchi@collabora.co.uk> | 2009-04-30 23:38:11 +0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2009-06-01 23:47:35 +0800 |
commit | 7eb34d005b43f8e1a4c6120ad00ac5730bb5cfb2 (patch) | |
tree | e6afec0bc61548a2aa5ce880f32eb948620dd7cc /libempathy/empathy-ft-handler.c | |
parent | 113996fbc2c8afd4835a525b1f977e96c002ddf5 (diff) | |
download | gsoc2013-empathy-7eb34d005b43f8e1a4c6120ad00ac5730bb5cfb2.tar gsoc2013-empathy-7eb34d005b43f8e1a4c6120ad00ac5730bb5cfb2.tar.gz gsoc2013-empathy-7eb34d005b43f8e1a4c6120ad00ac5730bb5cfb2.tar.bz2 gsoc2013-empathy-7eb34d005b43f8e1a4c6120ad00ac5730bb5cfb2.tar.lz gsoc2013-empathy-7eb34d005b43f8e1a4c6120ad00ac5730bb5cfb2.tar.xz gsoc2013-empathy-7eb34d005b43f8e1a4c6120ad00ac5730bb5cfb2.tar.zst gsoc2013-empathy-7eb34d005b43f8e1a4c6120ad00ac5730bb5cfb2.zip |
Add empathy_ft_handler_get_transferred_bytes API
Diffstat (limited to 'libempathy/empathy-ft-handler.c')
-rw-r--r-- | libempathy/empathy-ft-handler.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libempathy/empathy-ft-handler.c b/libempathy/empathy-ft-handler.c index 38dd8e63e..15085b83f 100644 --- a/libempathy/empathy-ft-handler.c +++ b/libempathy/empathy-ft-handler.c @@ -1004,3 +1004,15 @@ empathy_ft_handler_is_incoming (EmpathyFTHandler *handler) return empathy_tp_file_is_incoming (priv->tpfile); } + +guint64 +empathy_ft_handler_get_transferred_bytes (EmpathyFTHandler *handler) +{ + EmpathyFTHandlerPriv *priv; + + g_return_val_if_fail (EMPATHY_IS_FT_HANDLER (handler), 0); + + priv = GET_PRIV (handler); + + return priv->transferred_bytes; +} |