comparison libpurple/prpl.h @ 23210:d3fb9d9b57e2

Add doxycomment for PurpleBuddyIcon; tweak that of PurpleBuddyIconSpec. (Documentation for struct members does not appear in the HTML documentation unless the struct (not just the typedef) has a doxycomment.)
author Will Thompson <will.thompson@collabora.co.uk>
date Mon, 26 May 2008 20:46:00 +0000
parents d53f72735830
children 3f92fd48d19a ff29208e03ef
comparison
equal deleted inserted replaced
23209:f8a02ba588d1 23210:d3fb9d9b57e2
69 #include "plugin.h" 69 #include "plugin.h"
70 #include "roomlist.h" 70 #include "roomlist.h"
71 #include "status.h" 71 #include "status.h"
72 #include "whiteboard.h" 72 #include "whiteboard.h"
73 73
74
75 /** @copydoc PurpleBuddyIconSpec */
74 struct _PurpleBuddyIconSpec { 76 struct _PurpleBuddyIconSpec {
75 char *format; /**< This is a comma-delimited list of image formats or NULL if icons are not supported. 77 /** This is a comma-delimited list of image formats or @c NULL if icons
76 * Neither the core nor the prpl will actually check to see if the data it's given matches this; it's 78 * are not supported. Neither the core nor the prpl will actually
77 * entirely up to the UI to do what it wants */ 79 * check to see if the data it's given matches this; it's entirely up
78 int min_width; /**< The minimum width of this icon */ 80 * to the UI to do what it wants
79 int min_height; /**< The minimum height of this icon */ 81 */
80 int max_width; /**< The maximum width of this icon */ 82 char *format;
81 int max_height; /**< The maximum height of this icon */ 83
82 size_t max_filesize; /**< The maximum number of bytes */ 84 int min_width; /**< Minimum width of this icon */
83 PurpleIconScaleRules scale_rules; /**< How to stretch this icon */ 85 int min_height; /**< Minimum height of this icon */
86 int max_width; /**< Maximum width of this icon */
87 int max_height; /**< Maximum height of this icon */
88 size_t max_filesize; /**< Maximum size in bytes */
89 PurpleIconScaleRules scale_rules; /**< How to stretch this icon */
84 }; 90 };
85 91
86 struct proto_chat_entry { 92 struct proto_chat_entry {
87 const char *label; 93 const char *label;
88 const char *identifier; 94 const char *identifier;