changeset 1096:8b02086025f9 trunk

[svn] - adplug: convert to plugin API v2
author nenolod
date Thu, 24 May 2007 23:25:59 -0700
parents 73c1f177458a
children baaf67022119
files ChangeLog src/adplug/adplug-xmms.cc
diffstat 2 files changed, 11 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu May 24 23:24:14 2007 -0700
+++ b/ChangeLog	Thu May 24 23:25:59 2007 -0700
@@ -1,3 +1,11 @@
+2007-05-25 06:24:14 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [2356]
+  - timidity: convert to plugin API v2
+  
+  trunk/src/timidity/src/xmms-timidity.c |   12 +++++-------
+  1 file changed, 5 insertions(+), 7 deletions(-)
+
+
 2007-05-25 06:22:37 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [2354]
   - sid: convert to plugin API v2
--- a/src/adplug/adplug-xmms.cc	Thu May 24 23:24:14 2007 -0700
+++ b/src/adplug/adplug-xmms.cc	Thu May 24 23:25:59 2007 -0700
@@ -1151,8 +1151,6 @@
   NULL,
 };
 
-extern "C" InputPlugin *
-get_iplugin_info (void)
-{
-  return &adplug_ip;
-}
+InputPlugin *adplug_iplist[] = { &adplug_ip, NULL };
+
+DECLARE_PLUGIN(adplug, NULL, NULL, adplug_iplist, NULL, NULL, NULL, NULL);