changeset 1068:7a656e49c935 trunk

[svn] - update paranormal visualizer to plugin API v2
author nenolod
date Thu, 24 May 2007 12:16:55 -0700
parents beba7968d2da
children f04f4a223f7b
files ChangeLog src/paranormal/plugin.c
diffstat 2 files changed, 12 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu May 24 12:15:22 2007 -0700
+++ b/ChangeLog	Thu May 24 12:16:55 2007 -0700
@@ -1,3 +1,11 @@
+2007-05-24 19:15:22 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [2300]
+  - update OSS plugin to plugin API v2
+  
+  trunk/src/OSS/OSS.c |   10 +++-------
+  1 file changed, 3 insertions(+), 7 deletions(-)
+
+
 2007-05-24 19:12:49 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [2298]
   - convert scrobbler to plugin API v2
--- a/src/paranormal/plugin.c	Thu May 24 12:15:22 2007 -0700
+++ b/src/paranormal/plugin.c	Thu May 24 12:16:55 2007 -0700
@@ -62,7 +62,7 @@
 {
   NULL,
   NULL,
-  "Paranormal Visualization Studio " VERSION,
+  "Paranormal Visualization Studio",
   2,
   2,
   pn_xmms_init,
@@ -76,11 +76,9 @@
   pn_xmms_render_freq
 };
 
-VisPlugin *
-get_vplugin_info (void)
-{
-  return &pn_vp;
-}
+VisPlugin *pn_vplist[] = { &pn_vp, NULL };
+
+DECLARE_PLUGIN(paranormal, NULL, NULL, NULL, NULL, NULL, NULL, pn_vplist);
 
 static void
 load_pn_rc (void)