Mercurial > audlegacy
diff src/audacious/plugin.h @ 3731:0e5da33a32b7
fun util dialog shit -> vtable
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Sat, 13 Oct 2007 19:11:52 -0500 |
parents | a89a12aa4f2c |
children | e82ec5cb017c |
line wrap: on
line diff
--- a/src/audacious/plugin.h Sat Oct 13 19:08:44 2007 -0500 +++ b/src/audacious/plugin.h Sat Oct 13 19:11:52 2007 -0500 @@ -279,6 +279,12 @@ InputPlugin *(*uri_get_plugin)(const gchar *filename); void (*uri_set_plugin)(const gchar *uri, InputPlugin *ip); + /* Util funcs */ + GtkWidget *(*util_info_dialog)(const gchar * title, const gchar * text, + const gchar * button_text, gboolean modal, + GCallback button_action, + gpointer action_data); + }; /* Convenience macros for accessing the public API. */ @@ -366,6 +372,9 @@ #define aud_uri_get_plugin _audvt->uri_get_plugin #define aud_uri_set_plugin _audvt->uri_set_plugin +#define aud_info_dialog _audvt->util_info_dialog +#define audacious_info_dialog _audvt->util_info_dialog + /* for multi-file plugins :( */ extern struct _AudaciousFuncTableV1 *_audvt;