libpurple/ft.h

branch
cpw.malu.ft_thumbnails
changeset 30126
f09ecb81212c
parent 30115
619d2b5758c0
child 30131
06dc542246ef
equal deleted inserted replaced
30125:e28699c46311 30126:f09ecb81212c
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

mercurial