Mercurial > audlegacy
changeset 3736:269449ad845e
vtable get_gentitle_format().
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Sat, 13 Oct 2007 20:41:39 -0500 |
parents | d41d03630f27 |
children | 9c4633afc0a8 |
files | src/audacious/plugin.h src/audacious/pluginenum.c |
diffstat | 2 files changed, 3 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/plugin.h Sat Oct 13 20:35:58 2007 -0500 +++ b/src/audacious/plugin.h Sat Oct 13 20:41:39 2007 -0500 @@ -285,6 +285,7 @@ const gchar * button_text, gboolean modal, GCallback button_action, gpointer action_data); + const gchar *(*get_gentitle_format)(void); /* strings API */ gchar *(*escape_shell_chars)(const gchar * string); @@ -404,6 +405,7 @@ #define aud_info_dialog _audvt->util_info_dialog #define audacious_info_dialog _audvt->util_info_dialog +#define aud_get_gentitle_format _audvt->get_gentitle_format #define aud_escape_shell_chars _audvt->escape_shell_chars #define aud_str_append _audvt->str_append @@ -603,11 +605,4 @@ /* undefine the macro -- struct Plugin should be used instead. */ #undef PLUGIN_COMMON_FIELDS -G_BEGIN_DECLS - -/* So that input plugins can get the title formatting information */ -G_CONST_RETURN gchar * get_gentitle_format(void); - -G_END_DECLS - #endif
--- a/src/audacious/pluginenum.c Sat Oct 13 20:35:58 2007 -0500 +++ b/src/audacious/pluginenum.c Sat Oct 13 20:41:39 2007 -0500 @@ -133,6 +133,7 @@ .uri_set_plugin = uri_set_plugin, .util_info_dialog = util_info_dialog, + .get_gentitle_format = get_gentitle_format, .escape_shell_chars = escape_shell_chars, .str_append = str_append,