changeset 1142:b10c821f0b4e trunk

[svn] - spectrum: convert to plugin2 architecture.
author nenolod
date Mon, 28 May 2007 03:01:41 -0700
parents 782f22f642d8
children 48aba1f78016
files ChangeLog src/spectrum/spectrum.c
diffstat 2 files changed, 12 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon May 28 02:59:10 2007 -0700
+++ b/ChangeLog	Mon May 28 03:01:41 2007 -0700
@@ -1,3 +1,11 @@
+2007-05-28 09:59:10 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [2448]
+  - blur_scope: convert to plugin2 architecture.
+  
+  trunk/src/blur_scope/blur_scope.c |   13 ++++---------
+  1 file changed, 4 insertions(+), 9 deletions(-)
+
+
 2007-05-28 09:57:42 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [2446]
   - rovascope: convert to plugin2 architecture.
--- a/src/spectrum/spectrum.c	Mon May 28 02:59:10 2007 -0700
+++ b/src/spectrum/spectrum.c	Mon May 28 03:01:41 2007 -0700
@@ -62,7 +62,7 @@
 VisPlugin fsanalyzer_vp = {
 	NULL,
 	NULL,
-	"Spectrum Analyzer " VERSION,
+	"Spectrum Analyzer",
 	0,
 	1,		
 	fsanalyzer_init, /* init */
@@ -76,9 +76,9 @@
 	fsanalyzer_render_freq  /* render_freq */
 };
 
-VisPlugin *get_vplugin_info(void) {
-	return &fsanalyzer_vp;
-}
+VisPlugin *spectrum_vplist[] = { &fsanalyzer_vp, NULL };
+
+DECLARE_PLUGIN(spectrum, NULL, NULL, NULL, NULL, NULL, NULL, spectrum_vplist);
 
 static void fsanalyzer_destroy_cb(GtkWidget *w,gpointer data) {
 	fsanalyzer_vp.disable_plugin(&fsanalyzer_vp);