comparison libpurple/prpl.h @ 16484:915a56e08a9d

merge of 'b40bd1885046f301b11610cd406822e5d32968f7' and 'c160ad5b1979376c855bd74321ba7bfac438181f'
author Tim Ringenbach <marv@pidgin.im>
date Mon, 23 Apr 2007 00:52:51 +0000
parents 9f9941924233
children 516f14bef90e
comparison
equal deleted inserted replaced
16469:ac9d28bba272 16484:915a56e08a9d
57 #include <unistd.h> 57 #include <unistd.h>
58 58
59 #include "blist.h" 59 #include "blist.h"
60 #include "conversation.h" 60 #include "conversation.h"
61 #include "ft.h" 61 #include "ft.h"
62 #include "imgstore.h"
62 #include "notify.h" 63 #include "notify.h"
63 #include "proxy.h" 64 #include "proxy.h"
64 #include "plugin.h" 65 #include "plugin.h"
65 #include "roomlist.h" 66 #include "roomlist.h"
66 #include "status.h" 67 #include "status.h"
282 283
283 void (*convo_closed)(PurpleConnection *, const char *who); 284 void (*convo_closed)(PurpleConnection *, const char *who);
284 285
285 const char *(*normalize)(const PurpleAccount *, const char *); 286 const char *(*normalize)(const PurpleAccount *, const char *);
286 287
287 void (*set_buddy_icon)(PurpleConnection *, const char *cached_path); 288 /* The prpl does NOT own a reference to img. If it needs one, it
289 * must purple_imgstore_ref(img) itself. */
290 void (*set_buddy_icon)(PurpleConnection *, PurpleStoredImage *img);
288 291
289 void (*remove_group)(PurpleConnection *gc, PurpleGroup *group); 292 void (*remove_group)(PurpleConnection *gc, PurpleGroup *group);
290 293
291 char *(*get_cb_real_name)(PurpleConnection *gc, int id, const char *who); 294 char *(*get_cb_real_name)(PurpleConnection *gc, int id, const char *who);
292 295