comparison src/audacious/plugin.h @ 3736:269449ad845e

vtable get_gentitle_format().
author William Pitcock <nenolod@atheme.org>
date Sat, 13 Oct 2007 20:41:39 -0500
parents d41d03630f27
children 48a596a86459
comparison
equal deleted inserted replaced
3735:d41d03630f27 3736:269449ad845e
283 /* Util funcs */ 283 /* Util funcs */
284 GtkWidget *(*util_info_dialog)(const gchar * title, const gchar * text, 284 GtkWidget *(*util_info_dialog)(const gchar * title, const gchar * text,
285 const gchar * button_text, gboolean modal, 285 const gchar * button_text, gboolean modal,
286 GCallback button_action, 286 GCallback button_action,
287 gpointer action_data); 287 gpointer action_data);
288 const gchar *(*get_gentitle_format)(void);
288 289
289 /* strings API */ 290 /* strings API */
290 gchar *(*escape_shell_chars)(const gchar * string); 291 gchar *(*escape_shell_chars)(const gchar * string);
291 292
292 gchar *(*str_append)(gchar * str, const gchar * add_str); 293 gchar *(*str_append)(gchar * str, const gchar * add_str);
402 #define aud_uri_get_plugin _audvt->uri_get_plugin 403 #define aud_uri_get_plugin _audvt->uri_get_plugin
403 #define aud_uri_set_plugin _audvt->uri_set_plugin 404 #define aud_uri_set_plugin _audvt->uri_set_plugin
404 405
405 #define aud_info_dialog _audvt->util_info_dialog 406 #define aud_info_dialog _audvt->util_info_dialog
406 #define audacious_info_dialog _audvt->util_info_dialog 407 #define audacious_info_dialog _audvt->util_info_dialog
408 #define aud_get_gentitle_format _audvt->get_gentitle_format
407 409
408 #define aud_escape_shell_chars _audvt->escape_shell_chars 410 #define aud_escape_shell_chars _audvt->escape_shell_chars
409 #define aud_str_append _audvt->str_append 411 #define aud_str_append _audvt->str_append
410 #define aud_str_replace _audvt->str_replace 412 #define aud_str_replace _audvt->str_replace
411 #define aud_str_replace_in _audvt->str_replace_in 413 #define aud_str_replace_in _audvt->str_replace_in
601 }; 603 };
602 604
603 /* undefine the macro -- struct Plugin should be used instead. */ 605 /* undefine the macro -- struct Plugin should be used instead. */
604 #undef PLUGIN_COMMON_FIELDS 606 #undef PLUGIN_COMMON_FIELDS
605 607
606 G_BEGIN_DECLS
607
608 /* So that input plugins can get the title formatting information */
609 G_CONST_RETURN gchar * get_gentitle_format(void);
610
611 G_END_DECLS
612
613 #endif 608 #endif