comparison audacious/util.h @ 1737:73f4c2c89c23 trunk

[svn] - lets be C++ friendly
author nenolod
date Mon, 18 Sep 2006 01:58:20 -0700
parents 43c197f55dda
children 636e7651c09d
comparison
equal deleted inserted replaced
1736:fed902161f2a 1737:73f4c2c89c23
27 #endif 27 #endif
28 28
29 #include <glib.h> 29 #include <glib.h>
30 #include <gtk/gtk.h> 30 #include <gtk/gtk.h>
31 31
32 G_BEGIN_DECLS
32 33
33 #define NO_PLAY_BUTTON FALSE 34 #define NO_PLAY_BUTTON FALSE
34 #define PLAY_BUTTON TRUE 35 #define PLAY_BUTTON TRUE
35 36
36 #define SWAP(a, b) { a^=b; b^=a; a^=b; } 37 #define SWAP(a, b) { a^=b; b^=a; a^=b; }
137 xmms_usleep(usec) 138 xmms_usleep(usec)
138 139
139 #define bmp_check_realtime_priority() \ 140 #define bmp_check_realtime_priority() \
140 xmms_check_realtime_priority() 141 xmms_check_realtime_priority()
141 142
142 G_BEGIN_DECLS
143
144 GtkWidget *xmms_show_message(const gchar * title, const gchar * text, 143 GtkWidget *xmms_show_message(const gchar * title, const gchar * text,
145 const gchar * button_text, gboolean modal, 144 const gchar * button_text, gboolean modal,
146 GtkSignalFunc button_action, 145 GtkSignalFunc button_action,
147 gpointer action_data); 146 gpointer action_data);
148 gboolean xmms_check_realtime_priority(void); 147 gboolean xmms_check_realtime_priority(void);