Mercurial > pidgin.yaz
diff libpurple/ft.h @ 22216:b99d6d21cd79
Add accessor and update finch to not touch the internals of PurpleXfer.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 26 Jan 2008 21:58:51 +0000 |
parents | 4511d15a8f80 |
children | 4a4e9d309fc0 3882d419e628 |
line wrap: on
line diff
--- a/libpurple/ft.h Sat Jan 26 21:39:29 2008 +0000 +++ b/libpurple/ft.h Sat Jan 26 21:58:51 2008 +0000 @@ -358,6 +358,26 @@ unsigned int purple_xfer_get_remote_port(const PurpleXfer *xfer); /** + * Returns the time the transfer of a file started. + * + * @param xfer The file transfer. + * + * @return The time when the transfer started. + * @since 2.4.0 + */ +time_t purple_xfer_get_start_time(const PurpleXfer *xfer); + +/** + * Returns the time the transfer of a file ended. + * + * @param xfer The file transfer. + * + * @return The time when the transfer ended. + * @since 2.4.0 + */ +time_t purple_xfer_get_end_time(const PurpleXfer *xfer); + +/** * Sets the completed state for the file transfer. * * @param xfer The file transfer.