Mercurial > pidgin.yaz
comparison src/prpl.h @ 1333:b332d8f46b84
[gaim-migrate @ 1343]
oo, a fun new register button. oh yeah, and the buddy list stuff got moved back from toc.c to buddy.c. isn't that nice. now you can remove toc.c and rvous.c, comment out one line in prpl.c, and get rid of toc altogether. but you won't do that.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 20 Dec 2000 13:24:48 +0000 |
parents | 4d4fef0928ce |
children | 04874e92af24 |
comparison
equal
deleted
inserted
replaced
1332:bec4de31b3ad | 1333:b332d8f46b84 |
---|---|
41 int protocol; | 41 int protocol; |
42 char *(* name)(); | 42 char *(* name)(); |
43 | 43 |
44 /* returns the XPM associated with the given user class */ | 44 /* returns the XPM associated with the given user class */ |
45 char **(* list_icon)(int); | 45 char **(* list_icon)(int); |
46 /* returns a GtkMenu * for use in the buddy list */ | 46 |
47 /* when UI plugins come, these will have to be reconciled by returning | |
48 * structs indicating what kinds of information they want displayed. */ | |
47 void (* action_menu)(GtkWidget *, struct gaim_connection *, char *); | 49 void (* action_menu)(GtkWidget *, struct gaim_connection *, char *); |
48 /* fuck UI plugins */ | |
49 void (* user_opts)(GtkWidget *, struct aim_user *); | 50 void (* user_opts)(GtkWidget *, struct aim_user *); |
51 void (* draw_new_user)(GtkWidget *); | |
52 void (* do_new_user)(); | |
50 | 53 |
54 /* all the server-related functions */ | |
51 void (* login) (struct aim_user *); | 55 void (* login) (struct aim_user *); |
52 void (* close) (struct gaim_connection *); | 56 void (* close) (struct gaim_connection *); |
53 void (* send_im) (struct gaim_connection *, char *who, char *message, int away); | 57 void (* send_im) (struct gaim_connection *, char *who, char *message, int away); |
54 void (* set_info) (struct gaim_connection *, char *info); | 58 void (* set_info) (struct gaim_connection *, char *info); |
55 void (* get_info) (struct gaim_connection *, char *who); | 59 void (* get_info) (struct gaim_connection *, char *who); |
87 void (* join_chat) (struct gaim_connection *, int id, char *name); | 91 void (* join_chat) (struct gaim_connection *, int id, char *name); |
88 void (* chat_invite) (struct gaim_connection *, int id, char *who, char *message); | 92 void (* chat_invite) (struct gaim_connection *, int id, char *who, char *message); |
89 void (* chat_leave) (struct gaim_connection *, int id); | 93 void (* chat_leave) (struct gaim_connection *, int id); |
90 void (* chat_whisper) (struct gaim_connection *, int id, char *who, char *message); | 94 void (* chat_whisper) (struct gaim_connection *, int id, char *who, char *message); |
91 void (* chat_send) (struct gaim_connection *, int id, char *message); | 95 void (* chat_send) (struct gaim_connection *, int id, char *message); |
92 | |
93 void (* keepalive) (struct gaim_connection *); | 96 void (* keepalive) (struct gaim_connection *); |
94 }; | 97 }; |
95 | 98 |
96 extern GSList *protocols; | 99 extern GSList *protocols; |
97 | 100 |
102 void load_protocol(proto_init); | 105 void load_protocol(proto_init); |
103 void unload_protocol(struct prpl *); | 106 void unload_protocol(struct prpl *); |
104 | 107 |
105 struct prpl *find_prpl(int); | 108 struct prpl *find_prpl(int); |
106 | 109 |
110 void register_user(gpointer, gpointer); | |
111 | |
107 void do_ask_dialog(const char *, void *, void *, void *); | 112 void do_ask_dialog(const char *, void *, void *, void *); |
108 #endif | 113 #endif |