comparison src/prpl.h @ 9316:d9d4b987e194

[gaim-migrate @ 10124] Documentation. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 19 Jun 2004 15:52:17 +0000
parents b3bda982996b
children 01c50436203e
comparison
equal deleted inserted replaced
9315:cb525f727f9c 9316:d9d4b987e194
101 } GaimConvImFlags; 101 } GaimConvImFlags;
102 102
103 /** 103 /**
104 * A description of a Buddy Icon specification. This tells Gaim what kind of image file 104 * A description of a Buddy Icon specification. This tells Gaim what kind of image file
105 * it should give this prpl, and what kind of image file it should expect back. 105 * it should give this prpl, and what kind of image file it should expect back.
106 * Dimensions less than 1 should be ignored and the image not scaled.
106 */ 107 */
107 typedef struct { 108 typedef struct {
108 char *format; /**< This is a comma-delimited list of image formats or NULL if icons are not supported. 109 char *format; /**< This is a comma-delimited list of image formats or NULL if icons are not supported.
109 * The core nor the prpl will actually check to see if the data it's given matches this, it's entirely 110 * The core nor the prpl will actually check to see if the data it's given matches this, it's entirely
110 * up to the UI to do what it wants */ 111 * up to the UI to do what it wants */
111 int width; /**< The width of this icon */ 112 int width; /**< The width of this icon */
112 int height; /**< The height of this icon */ 113 int height; /**< The height of this icon */
113 } GaimBuddyIconSpec; 114 } GaimBuddyIconSpec;
114 115
115 /* This #define exists just to make it easier to fill out the buddy icon field in he prpl info struct for protocols that couldn't care less. */ 116 /* This #define exists just to make it easier to fill out the buddy icon field in he prpl info struct for protocols that couldn't care less. */
116 #define NO_BUDDY_ICONS {NULL, 0, 0} 117 #define NO_BUDDY_ICONS {NULL, 0, 0}