diff src/away.h @ 9730:c9ac1976ef01

[gaim-migrate @ 10591] I shuffled lots of stuff around again. See plugins/ChangeLog.API for the list of renamed functions. I'm trying to clean up gtkdialogs.c/.h, so I moved the away stuff into away.c/.h I also reduced the minimum buddy list height from 200 pixels to 100 pixels. I just realized that that's also the default height used when you don't have a prefs.xml, which is bad. I think I'm going to set the default height to around 300 pixels. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 09 Aug 2004 03:49:46 +0000
parents db62420a53a2
children 4a15962c344a
line wrap: on
line diff
--- a/src/away.h	Sun Aug 08 19:01:42 2004 +0000
+++ b/src/away.h	Mon Aug 09 03:49:46 2004 +0000
@@ -25,12 +25,29 @@
 #ifndef _GAIM_AWAY_H_
 #define _GAIM_AWAY_H_
 
-#define GtkWidget int
+#include "gtkinternal.h"
 
-int this_file;
+/* XXX CUI: away messages aren't really anything more than char* but we need two char*'s
+ * for the UI so that people can name their away messages when they save them. So these
+ * are really a UI function and struct away_message should be removed from the core. */
+/* WTF?  How does having a title for something mean that it is part of the UI? */
+struct away_message {
+	char name[80];
+	char message[2048];
+};
 
-#define A_BIG_HACK this_file;
+extern GSList *away_messages;
+extern struct away_message *awaymessage;
+extern GtkWidget *awaymenu;
+extern GtkWidget *awayqueue;
+extern GtkListStore *awayqueuestore;
 
+extern void rem_away_mess(GtkWidget *, struct away_message *);
+extern void do_away_message(GtkWidget *, struct away_message *);
+extern void do_away_menu();
+extern void toggle_away_queue();
+extern void purge_away_queue(GSList **);
 extern void do_im_back(GtkWidget *, GtkWidget *);
+void create_away_mess(GtkWidget *, void *);
 
 #endif /* _GAIM_AWAY_H_ */