Mercurial > audlegacy
diff src/audacious/plugin.h @ 4266:2b7a74fce100
Implemented support for multiple subplugins inside a plugin (see bug #148) and PluginHeader finalization
| author | stefano@zanga |
|---|---|
| date | Sun, 10 Feb 2008 12:31:44 +0100 |
| parents | 92642f860860 |
| children | 3c673b6803c1 |
line wrap: on
line diff
--- a/src/audacious/plugin.h Sun Feb 10 10:40:51 2008 +0100 +++ b/src/audacious/plugin.h Sun Feb 10 12:31:44 2008 +0100 @@ -652,6 +652,9 @@ gchar *(*uri_to_display_basename)(const gchar * uri); gchar *(*uri_to_display_dirname)(const gchar * uri); + void (*set_pvt_data)(Plugin * plugin, gpointer data); + gpointer (*get_pvt_data)(void); + }; /* Convenience macros for accessing the public API. */ @@ -997,6 +1000,9 @@ #define aud_uri_to_display_basename _audvt->uri_to_display_basename #define aud_uri_to_display_dirname _audvt->uri_to_display_dirname +#define aud_set_pvt_data _audvt->set_pvt_data +#define aud_get_pvt_data _audvt->get_pvt_data + #include "audacious/auddrct.h" /* for multi-file plugins :( */
