changeset 1069:f04f4a223f7b trunk

[svn] - update libconsole to plugin API v2
author nenolod
date Thu, 24 May 2007 12:19:58 -0700
parents 7a656e49c935
children aa85fe8d2473
files ChangeLog src/console/Audacious_Driver.cxx
diffstat 2 files changed, 16 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu May 24 12:16:55 2007 -0700
+++ b/ChangeLog	Thu May 24 12:19:58 2007 -0700
@@ -1,3 +1,11 @@
+2007-05-24 19:16:55 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [2302]
+  - update paranormal visualizer to plugin API v2
+  
+  trunk/src/paranormal/plugin.c |   10 ++++------
+  1 file changed, 4 insertions(+), 6 deletions(-)
+
+
 2007-05-24 19:15:22 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [2300]
   - update OSS plugin to plugin API v2
--- a/src/console/Audacious_Driver.cxx	Thu May 24 12:16:55 2007 -0700
+++ b/src/console/Audacious_Driver.cxx	Thu May 24 12:19:58 2007 -0700
@@ -484,7 +484,7 @@
 {
 	NULL,
 	NULL,
-	NULL,
+	"Game console audio module decoder",
 	console_init,
 	console_aboutbox,
 	console_cfg_ui,
@@ -513,8 +513,10 @@
 	(gchar **)gme_fmts
 };
 
-extern "C" InputPlugin *get_iplugin_info(void)
-{
-	console_ip.description = g_strdup_printf(_("Game console audio module decoder"));
-	return &console_ip;
-}
+InputPlugin *console_iplist[] = { &console_ip, NULL };
+
+extern "C" {
+
+DECLARE_PLUGIN(console, NULL, NULL, console_iplist, NULL, NULL, NULL, NULL);
+
+};