comparison libaudacious/util.h @ 1734:43c197f55dda trunk

[svn] - merge libaudacious (public) and audacious util APIs
author nenolod
date Mon, 18 Sep 2006 01:44:39 -0700
parents cb178e5ad177
children
comparison
equal deleted inserted replaced
1733:e41a5d296e26 1734:43c197f55dda
1 #ifndef XMMS_UTIL_H 1 #include "audacious/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