Mercurial > pidgin.yaz
diff src/ui.h @ 2986:1c6a3516e1ff
[gaim-migrate @ 2999]
Funky :) Editable buddy pouncen
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Sat, 23 Feb 2002 23:41:50 +0000 |
parents | b68c648618a3 |
children | 7239a392486c |
line wrap: on
line diff
--- a/src/ui.h Sat Feb 23 23:28:49 2002 +0000 +++ b/src/ui.h Sat Feb 23 23:41:50 2002 +0000 @@ -194,6 +194,25 @@ char message[2048]; }; +/**************************** + * I thought I'd place these here by the same reasoning used above (for away_message) + * This helps aleviate warnings from dialogs.c where the show_new_bp function references + * buddy_pounce in the parameter list when ui.h doesn't know about buddy_pounce + * ************************** + */ +struct buddy_pounce { + char name[80]; + char message[2048]; + char command[2048]; + char sound[2048]; + + char pouncer[80]; + int protocol; + + int options; +}; + + /* this is used for queuing messages received while away. This is really a UI function * which is why the struct is here. */ struct queued_message { @@ -392,7 +411,7 @@ extern void destroy_all_dialogs(); extern void show_import_dialog(); extern void show_export_dialog(); -extern void show_new_bp(char *, struct gaim_connection *, int, int); +extern void show_new_bp(char *, struct gaim_connection *, int, int, struct buddy_pounce *); extern void show_log(char *); extern void show_log_dialog(struct conversation *); extern void show_fgcolor_dialog(struct conversation *c, GtkWidget *color);