0
|
1 #ifndef XMMS_UTIL_H
|
|
2 #define XMMS_UTIL_H
|
|
3
|
|
4
|
|
5 #include <glib.h>
|
|
6 #include <gtk/gtk.h>
|
|
7
|
|
8
|
|
9 /* XMMS names */
|
|
10
|
|
11 #define bmp_info_dialog(title, text, button_text, model, button_action, action_data) \
|
|
12 xmms_show_message(title, text, button_text, model, button_action, action_data)
|
|
13
|
|
14 #define bmp_usleep(usec) \
|
|
15 xmms_usleep(usec)
|
|
16
|
|
17 #define bmp_check_realtime_priority() \
|
|
18 xmms_check_realtime_priority()
|
|
19
|
|
20
|
|
21 G_BEGIN_DECLS
|
|
22
|
|
23 GtkWidget *xmms_show_message(const gchar * title, const gchar * text,
|
|
24 const gchar * button_text, gboolean modal,
|
|
25 GtkSignalFunc button_action,
|
|
26 gpointer action_data);
|
|
27 gboolean xmms_check_realtime_priority(void);
|
|
28 void xmms_usleep(gint usec);
|
|
29
|
|
30 G_END_DECLS
|
|
31
|
|
32 #endif
|