Mercurial > pidgin.yaz
diff src/prpl.h @ 9285:7a8aa87164ae
[gaim-migrate @ 10088]
Ok I'm done. This started out as shx's patch to make add/remove
buddy/buddies take GaimBuddy and GaimGroup's in various places.
I think his diff was like 2000 lines and mine is like 5000. I
tried to clean up blist.c a bit and make it more uniform. There
are some more g_return_if_fail() checks. Removed some code that
was deprecated--it's probably been long enough. Removed some
#include <multi.h>'s. Make blist.xml saving happen on a timer,
like prefs.xml and accounts.xml.
Sorry if this doesn't merge cleanly with whatever you're doing.
People should really test this a lot.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 15 Jun 2004 02:37:27 +0000 |
parents | cde9fb3546ed |
children | 3d5519a84d02 |
line wrap: on
line diff
--- a/src/prpl.h Tue Jun 15 01:17:16 2004 +0000 +++ b/src/prpl.h Tue Jun 15 02:37:27 2004 +0000 @@ -237,12 +237,10 @@ void (*set_idle)(GaimConnection *, int idletime); void (*change_passwd)(GaimConnection *, const char *old_pass, const char *new_pass); - void (*add_buddy)(GaimConnection *, const char *name, GaimGroup *group); - void (*add_buddies)(GaimConnection *, GList *buddies); - void (*remove_buddy)(GaimConnection *, const char *name, - const char *group); - void (*remove_buddies)(GaimConnection *, GList *buddies, - const char *group); + void (*add_buddy)(GaimConnection *, GaimBuddy *buddy, GaimGroup *group); + void (*add_buddies)(GaimConnection *, GList *buddies, GList *groups); + void (*remove_buddy)(GaimConnection *, GaimBuddy *buddy, GaimGroup *group); + void (*remove_buddies)(GaimConnection *, GList *buddies, GList *groups); void (*add_permit)(GaimConnection *, const char *name); void (*add_deny)(GaimConnection *, const char *name); void (*rem_permit)(GaimConnection *, const char *name); @@ -275,8 +273,8 @@ const char *old_group, const char *new_group); /* rename a group on a server list/roster */ - void (*rename_group)(GaimConnection *, const char *old_group, - const char *new_group, GList *members); + void (*rename_group)(GaimConnection *, const char *old_name, + GaimGroup *group, GList *moved_buddies); void (*buddy_free)(GaimBuddy *); @@ -286,7 +284,7 @@ void (*set_buddy_icon)(GaimConnection *, const char *filename); - void (*remove_group)(GaimConnection *gc, const char *group); + void (*remove_group)(GaimConnection *gc, GaimGroup *group); char *(*get_cb_real_name)(GaimConnection *gc, int id, const char *who);