comparison src/prpl.h @ 13327:b7b31c69ade6

[gaim-migrate @ 15697] Whitespace, comments, and a warning fix committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 25 Feb 2006 22:31:53 +0000
parents 44a8d46ee3c1
children 1ca4a579eb57
comparison
equal deleted inserted replaced
13326:3955245c82f6 13327:b7b31c69ade6
45 * A description of a Buddy Icon specification. This tells Gaim what kind of image file 45 * A description of a Buddy Icon specification. This tells Gaim what kind of image file
46 * it should give this prpl, and what kind of image file it should expect back. 46 * it should give this prpl, and what kind of image file it should expect back.
47 * Dimensions less than 1 should be ignored and the image not scaled. 47 * Dimensions less than 1 should be ignored and the image not scaled.
48 */ 48 */
49 typedef struct { 49 typedef struct {
50 char *format; /**< This is a comma-delimited list of image formats or NULL if icons are not supported. 50 char *format; /**< This is a comma-delimited list of image formats or NULL if icons are not supported.
51 * The core nor the prpl will actually check to see if the data it's given matches this, it's entirely 51 * The core nor the prpl will actually check to see if the data it's given matches this, it's entirely
52 * up to the UI to do what it wants */ 52 * up to the UI to do what it wants */
53 int min_width; /**< The minimum width of this icon */ 53 int min_width; /**< The minimum width of this icon */
54 int min_height; /**< The minimum height of this icon */ 54 int min_height; /**< The minimum height of this icon */
55 int max_width; /**< The maximum width of this icon */ 55 int max_width; /**< The maximum width of this icon */
293 293
294 /* file transfer callbacks */ 294 /* file transfer callbacks */
295 gboolean (*can_receive_file)(GaimConnection *, const char *who); 295 gboolean (*can_receive_file)(GaimConnection *, const char *who);
296 void (*send_file)(GaimConnection *, const char *who, const char *filename); 296 void (*send_file)(GaimConnection *, const char *who, const char *filename);
297 GaimXfer *(*new_xfer)(GaimConnection *, const char *who); 297 GaimXfer *(*new_xfer)(GaimConnection *, const char *who);
298 gboolean (*offline_message)(const GaimBuddy *buddy); 298 gboolean (*offline_message)(const GaimBuddy *buddy);
299 299
300 GaimWhiteboardPrplOps *whiteboard_prpl_ops; 300 GaimWhiteboardPrplOps *whiteboard_prpl_ops;
301 }; 301 };
302 302
303 #define GAIM_IS_PROTOCOL_PLUGIN(plugin) \ 303 #define GAIM_IS_PROTOCOL_PLUGIN(plugin) \