comparison src/prpl.h @ 1032:643a4d81c18a

[gaim-migrate @ 1042] buddy list menus are based on connections/protocol. pretty spiffy. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 31 Oct 2000 06:09:47 +0000
parents 38452403563b
children daad2440a642
comparison
equal deleted inserted replaced
1031:6df117f1674d 1032:643a4d81c18a
37 37
38 struct prpl { 38 struct prpl {
39 int protocol; 39 int protocol;
40 char *(* name)(); 40 char *(* name)();
41 41
42 /* returns the XPM associated with the given user class */
42 char **(* list_icon)(int); 43 char **(* list_icon)(int);
44 /* returns a GtkMenu * for use in the buddy list */
45 void (* action_menu)(GtkWidget *, struct gaim_connection *, char *);
43 46
44 void (* login) (struct aim_user *); 47 void (* login) (struct aim_user *);
45 void (* close) (struct gaim_connection *); 48 void (* close) (struct gaim_connection *);
46 void (* send_im) (struct gaim_connection *, char *who, char *message, int away); 49 void (* send_im) (struct gaim_connection *, char *who, char *message, int away);
47 void (* set_info) (struct gaim_connection *, char *info); 50 void (* set_info) (struct gaim_connection *, char *info);