From c982861667c0441419ee4fdee2ea399ef8f26416 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 24 Apr 2009 21:04:36 +0200 Subject: Add gtk-doc for new functions --- libempathy/empathy-tp-file.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'libempathy') 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) { -- cgit v1.2.3