comparison src/prpl.h @ 6885:66dd420d3d23

[gaim-migrate @ 7431] Add support for removing groups in protocols. Currently, only MSN supports it, but you cannot delete group 0 (aka, "The evil ~ group of DOOM!"), so I'll add a GrossHack (TM) to not show that group if it's empty. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 18 Sep 2003 05:39:44 +0000
parents 8ab95f4c9800
children 083d1e4a9c78
comparison
equal deleted inserted replaced
6884:5bd9f201b4bf 6885:66dd420d3d23
301 void (*rename_group)(GaimConnection *, const char *old_group, 301 void (*rename_group)(GaimConnection *, const char *old_group,
302 const char *new_group, GList *members); 302 const char *new_group, GList *members);
303 303
304 void (*buddy_free)(GaimBuddy *); 304 void (*buddy_free)(GaimBuddy *);
305 305
306 /* this is really bad. */
307 void (*convo_closed)(GaimConnection *, const char *who); 306 void (*convo_closed)(GaimConnection *, const char *who);
308 307
309 char *(*normalize)(const char *); 308 char *(*normalize)(const char *);
310 309
311 void (*set_buddy_icon)(GaimConnection *, const char *filename); 310 void (*set_buddy_icon)(GaimConnection *, const char *filename);
311
312 void (*remove_group)(GaimConnection *gc, const char *group);
312 }; 313 };
313 314
314 #define GAIM_IS_PROTOCOL_PLUGIN(plugin) \ 315 #define GAIM_IS_PROTOCOL_PLUGIN(plugin) \
315 ((plugin)->info->type == GAIM_PLUGIN_PROTOCOL) 316 ((plugin)->info->type == GAIM_PLUGIN_PROTOCOL)
316 317