comparison libpurple/prpl.h @ 17860:84638e3af1bc

Minor compilation fixes and corrected some typos on user tune. Added convenience function for setting the user tune.
author Andreas Monitzer <pidgin@monitzer.com>
date Mon, 18 Jun 2007 01:55:54 +0000
parents 3e437e86bd6e
children f2686bec13c0
comparison
equal deleted inserted replaced
17859:beaeb7fb4dbd 17860:84638e3af1bc
45 * A description of a Buddy Icon specification. This tells Purple what kind of image file 45 * A description of a Buddy Icon specification. This tells Purple 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 _PurpleBuddyIconSpec PurpleBuddyIconSpec; 49 typedef struct _PurpleBuddyIconSpec PurpleBuddyIconSpec;
50 typedef struct _PurpleTuneInfo PurpleTuneInfo;
50 51
51 /** 52 /**
52 * This \#define exists just to make it easier to fill out the buddy icon 53 * This \#define exists just to make it easier to fill out the buddy icon
53 * field in the prpl info struct for protocols that couldn't care less. 54 * field in the prpl info struct for protocols that couldn't care less.
54 */ 55 */
88 gboolean is_int; 89 gboolean is_int;
89 int min; 90 int min;
90 int max; 91 int max;
91 gboolean secret; 92 gboolean secret;
92 }; 93 };
93
94 typedef struct _PurpleTuneInfo PurpleTuneInfo;
95 94
96 struct _PurpleTuneInfo { 95 struct _PurpleTuneInfo {
97 char *artist; 96 char *artist;
98 char *title; 97 char *title;
99 char *album; 98 char *album;