comparison src/prpl.h @ 2154:cff133e0ec0c

[gaim-migrate @ 2164] part 2 of this. first was removing mail notifications; this is moving proto_opt stuff to multi.c and just having prpls say what they want. next it's on to the buddy right-click menu. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 22 Aug 2001 22:05:56 +0000
parents 0befa2d2e540
children a464da684307
comparison
equal deleted inserted replaced
2153:0befa2d2e540 2154:cff133e0ec0c
69 /* returns the XPM associated with the given user class */ 69 /* returns the XPM associated with the given user class */
70 char **(* list_icon)(int); 70 char **(* list_icon)(int);
71 GList *(* away_states)(); 71 GList *(* away_states)();
72 GList *(* actions)(); 72 GList *(* actions)();
73 void (* do_action)(struct gaim_connection *, char *); 73 void (* do_action)(struct gaim_connection *, char *);
74 /* user_opts returns a GList* of g_malloc'd struct proto_user_opts */
75 GList *(* user_opts)();
74 76
75 /* when UI plugins come, these will have to be reconciled by returning 77 /* when UI plugins come, these will have to be reconciled by returning
76 * structs indicating what kinds of information they want displayed. */ 78 * structs indicating what kinds of information they want displayed. */
77 /* new thought though. instead of UI plugins, just do like X-Chat does; 79 /* new thought though. instead of UI plugins, just do like X-Chat does;
78 * have different src- dirs in src: src-common, src-gtk, src-cli, etc. 80 * have different src- dirs in src: src-common, src-gtk, src-cli, etc.
79 * then have a prpl-base and prpl-UI stuff. people don't need to change 81 * then have a prpl-base and prpl-UI stuff. people don't need to change
80 * their UIs all that often anyway. */ 82 * their UIs all that often anyway. */
81 void (* buddy_menu)(GtkWidget *, struct gaim_connection *, char *); 83 void (* buddy_menu)(GtkWidget *, struct gaim_connection *, char *);
82 void (* user_opts)(GtkWidget *, struct aim_user *);
83 void (* draw_new_user)(GtkWidget *); 84 void (* draw_new_user)(GtkWidget *);
84 void (* do_new_user)(); 85 void (* do_new_user)();
85 void (* draw_join_chat)(struct gaim_connection *, GtkWidget *); 86 void (* draw_join_chat)(struct gaim_connection *, GtkWidget *);
86 void (* insert_convo)(struct gaim_connection *, struct conversation *); 87 void (* insert_convo)(struct gaim_connection *, struct conversation *);
87 void (* remove_convo)(struct gaim_connection *, struct conversation *); 88 void (* remove_convo)(struct gaim_connection *, struct conversation *);