Mercurial > audlegacy-plugins
diff src/modplug/plugin.cxx @ 1081:1233d2efceab trunk
[svn] - modplug: transition to plugin API v2
| author | nenolod |
|---|---|
| date | Thu, 24 May 2007 16:34:36 -0700 |
| parents | b1128efde471 |
| children | 761e17b23e0c |
line wrap: on
line diff
--- a/src/modplug/plugin.cxx Thu May 24 16:32:36 2007 -0700 +++ b/src/modplug/plugin.cxx Thu May 24 16:34:36 2007 -0700 @@ -84,7 +84,7 @@ { NULL, NULL, - (gchar *)"ModPlug Player", + (gchar *)"ModPlug Audio Plugin", Init, ShowAboutBox, ShowConfigureBox, @@ -113,10 +113,6 @@ (gchar **)fmts, }; -extern "C" -{ - InputPlugin* get_iplugin_info (void) - { - return &gModPlug; - } -} +InputPlugin *modplug_iplist[] = { &gModPlug, NULL }; + +DECLARE_PLUGIN(modplug, NULL, NULL, modplug_iplist, NULL, NULL, NULL, NULL);
