diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2009-04-25 03:04:36 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2009-04-25 03:21:29 +0800 |
commit | c982861667c0441419ee4fdee2ea399ef8f26416 (patch) | |
tree | 19ae92702009a4b9d9da5f0ee5029ac1e18b6cca | |
parent | 64f50184bed0686bd95ba3dc923c1bc3c63e1240 (diff) | |
download | gsoc2013-empathy-c982861667c0441419ee4fdee2ea399ef8f26416.tar gsoc2013-empathy-c982861667c0441419ee4fdee2ea399ef8f26416.tar.gz gsoc2013-empathy-c982861667c0441419ee4fdee2ea399ef8f26416.tar.bz2 gsoc2013-empathy-c982861667c0441419ee4fdee2ea399ef8f26416.tar.lz gsoc2013-empathy-c982861667c0441419ee4fdee2ea399ef8f26416.tar.xz gsoc2013-empathy-c982861667c0441419ee4fdee2ea399ef8f26416.tar.zst gsoc2013-empathy-c982861667c0441419ee4fdee2ea399ef8f26416.zip |
Add gtk-doc for new functions
-rw-r--r-- | libempathy/empathy-tp-file.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-file.c b/libempathy/empathy-tp-file.c index 56f59a83a..f003b0c70 100644 --- a/libempathy/empathy-tp-file.c +++ b/libempathy/empathy-tp-file.c @@ -1043,6 +1043,14 @@ empathy_tp_file_get_transferred_bytes (EmpathyTpFile *tp_file) return tp_file->priv->transferred_bytes; } +/** + * empathy_tp_file_get_remaining_time: + * @tp_file: a #EmpathyTpFile + * + * Get the current remaining time estimation, in seconds. + * + * Returns: The time remaining. + **/ gint empathy_tp_file_get_remaining_time (EmpathyTpFile *tp_file) { @@ -1057,6 +1065,14 @@ empathy_tp_file_get_remaining_time (EmpathyTpFile *tp_file) return tp_file->priv->remaining_time; } +/** + * empathy_tp_file_get_speed: + * @tp_file: a #EmpathyTpFile + * + * Get the current speed of the transfer, in bytes per seconds. + * + * Returns: The current speed. + **/ gdouble empathy_tp_file_get_speed (EmpathyTpFile *tp_file) { |