view libaudacious/util.h @ 1014:9b26df736b62 trunk

[svn] (a quick way to reenable configfile): * If you are a third party developer and you need a quick fix, add * #define I_AM_A_THIRD_PARTY_DEVELOPER_WHO_NEEDS_TO_BE_KICKED_IN_THE_HEAD_BY_CHUCK_NORRIS * to your code.
author nenolod
date Tue, 09 May 2006 09:04:44 -0700
parents cb178e5ad177
children 43c197f55dda
line wrap: on
line source

#ifndef XMMS_UTIL_H
#define XMMS_UTIL_H


#include <glib.h>
#include <gtk/gtk.h>


/* XMMS names */

#define bmp_info_dialog(title, text, button_text, model, button_action, action_data) \
  xmms_show_message(title, text, button_text, model, button_action, action_data)

#define bmp_usleep(usec) \
  xmms_usleep(usec)

#define bmp_check_realtime_priority() \
  xmms_check_realtime_priority()


G_BEGIN_DECLS

GtkWidget *xmms_show_message(const gchar * title, const gchar * text,
                             const gchar * button_text, gboolean modal,
                             GtkSignalFunc button_action,
                             gpointer action_data);
gboolean xmms_check_realtime_priority(void);
void xmms_usleep(gint usec);

G_END_DECLS

#endif