| 23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 24 */ |
24 */ |
| 25 #ifndef _GAIM_AWAY_H_ |
25 #ifndef _GAIM_AWAY_H_ |
| 26 #define _GAIM_AWAY_H_ |
26 #define _GAIM_AWAY_H_ |
| 27 |
27 |
| 28 #define GtkWidget int |
28 #include "gtkinternal.h" |
| 29 |
29 |
| 30 int this_file; |
30 /* XXX CUI: away messages aren't really anything more than char* but we need two char*'s |
| |
31 * for the UI so that people can name their away messages when they save them. So these |
| |
32 * are really a UI function and struct away_message should be removed from the core. */ |
| |
33 /* WTF? How does having a title for something mean that it is part of the UI? */ |
| |
34 struct away_message { |
| |
35 char name[80]; |
| |
36 char message[2048]; |
| |
37 }; |
| 31 |
38 |
| 32 #define A_BIG_HACK this_file; |
39 extern GSList *away_messages; |
| |
40 extern struct away_message *awaymessage; |
| |
41 extern GtkWidget *awaymenu; |
| |
42 extern GtkWidget *awayqueue; |
| |
43 extern GtkListStore *awayqueuestore; |
| 33 |
44 |
| |
45 extern void rem_away_mess(GtkWidget *, struct away_message *); |
| |
46 extern void do_away_message(GtkWidget *, struct away_message *); |
| |
47 extern void do_away_menu(); |
| |
48 extern void toggle_away_queue(); |
| |
49 extern void purge_away_queue(GSList **); |
| 34 extern void do_im_back(GtkWidget *, GtkWidget *); |
50 extern void do_im_back(GtkWidget *, GtkWidget *); |
| |
51 void create_away_mess(GtkWidget *, void *); |
| 35 |
52 |
| 36 #endif /* _GAIM_AWAY_H_ */ |
53 #endif /* _GAIM_AWAY_H_ */ |