comparison libpurple/ft.h @ 30250:afc9cec164e4

Rename purple_xfer_get_thumbnail_data/size to be more D-Bus friendly.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 25 Apr 2010 21:09:34 +0000
parents 6671b5e92c28
children 2a1e4a000e87
comparison
equal deleted inserted replaced
30249:905e291986bc 30250:afc9cec164e4
694 694
695 /** 695 /**
696 * Gets the thumbnail data for a transfer 696 * Gets the thumbnail data for a transfer
697 * 697 *
698 * @param xfer The file transfer to get the thumbnail for 698 * @param xfer The file transfer to get the thumbnail for
699 * @param len If not @c NULL, the length of the thumbnail data returned
700 * will be set in the location pointed to by this.
699 * @return The thumbnail data, or NULL if there is no thumbnail 701 * @return The thumbnail data, or NULL if there is no thumbnail
700 */ 702 */
701 const void *purple_xfer_get_thumbnail_data(const PurpleXfer *xfer); 703 gconstpointer purple_xfer_get_thumbnail(const PurpleXfer *xfer, gsize *len);
702
703 /**
704 * Gets the thumbnail size for a transfer
705 *
706 * @param xfer The file transfer to get the thumbnail size for
707 * @return The size, in bytes of the file transfer's thumbnail
708 */
709 gsize purple_xfer_get_thumbnail_size(const PurpleXfer *xfer);
710 704
711 /** 705 /**
712 * Gets the mimetype of the thumbnail preview for a transfer 706 * Gets the mimetype of the thumbnail preview for a transfer
713 * 707 *
714 * @param xfer The file transfer to get the mimetype for 708 * @param xfer The file transfer to get the mimetype for