diff src/prpl.h @ 3035:0f1766887ddd

[gaim-migrate @ 3048] Maybe this totally sucks, maybe it doesn't. If you like this, please let me know. If you have geniunely sincere constructive criticism, then approach me in a nic way. If you think it sucks then you can build yourself a wee little bridge and get the hell on over it. committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Wed, 13 Mar 2002 04:06:23 +0000
parents 1143524a2eaf
children e68e2ba82310
line wrap: on
line diff
--- a/src/prpl.h	Tue Mar 12 21:22:56 2002 +0000
+++ b/src/prpl.h	Wed Mar 13 04:06:23 2002 +0000
@@ -75,6 +75,12 @@
 
 typedef void (*proto_init)(struct prpl *);
 
+struct _prpl_smiley {
+	char *key;
+	char **xpm;
+	int show;
+};
+
 struct prpl {
 	int protocol;
 	int options;
@@ -93,6 +99,8 @@
 	GList *(* buddy_menu)(struct gaim_connection *, char *);
 	GList *(* chat_info)(struct gaim_connection *);
 
+	GSList *(* smiley_list)();
+
 	/* all the server-related functions */
 
 	/* a lot of these (like get_dir) are protocol-dependent and should be removed. ones like
@@ -182,4 +190,6 @@
 extern void set_icon_data(struct gaim_connection *, char *, void *, int);
 extern void *get_icon_data(struct gaim_connection *, char *, int *);
 
+extern GSList *add_smiley(GSList *, char *, char **, int) ;
+
 #endif /* _PRPL_H_ */