changeset 1080:b51246bc3fb3 trunk

[svn] - wavpack: transition to plugin API v2
author nenolod
date Thu, 24 May 2007 16:32:36 -0700
parents d0d7b6dd45f0
children 1233d2efceab
files ChangeLog src/wavpack/libwavpack.cxx
diffstat 2 files changed, 11 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu May 24 16:30:56 2007 -0700
+++ b/ChangeLog	Thu May 24 16:32:36 2007 -0700
@@ -1,3 +1,11 @@
+2007-05-24 23:30:56 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [2324]
+  - musepack: transition to plugin API v2
+  
+  trunk/src/musepack/libmpc.cxx |   11 ++++-------
+  1 file changed, 4 insertions(+), 7 deletions(-)
+
+
 2007-05-24 23:14:36 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [2322]
   - vorbis: transition to plugin API v2
--- a/src/wavpack/libwavpack.cxx	Thu May 24 16:30:56 2007 -0700
+++ b/src/wavpack/libwavpack.cxx	Thu May 24 16:32:36 2007 -0700
@@ -248,13 +248,9 @@
     }
 };
 
-extern "C" InputPlugin *
-get_iplugin_info(void)
-{
-    mod.description =
-        g_strdup_printf(("Wavpack Decoder Plugin %s"), VERSION);
-    return &mod;
-}
+InputPlugin *wv_iplist[] = { &mod, NULL };
+
+DECLARE_PLUGIN(wavpack, NULL, NULL, wv_iplist, NULL, NULL, NULL, NULL);
 
 static int
 wv_is_our_fd(gchar *filename, VFSFile *file)