diff src/paranormal/plugin.c @ 1068:7a656e49c935 trunk

[svn] - update paranormal visualizer to plugin API v2
author nenolod
date Thu, 24 May 2007 12:16:55 -0700
parents 2cf4d0182a86
children 761e17b23e0c
line wrap: on
line diff
--- 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)