# HG changeset patch # User nenolod # Date 1180346501 25200 # Node ID b10c821f0b4eab8061d4e8c503b2c40ca9bde619 # Parent 782f22f642d8c66f76a379e478c00bc972fc7f27 [svn] - spectrum: convert to plugin2 architecture. diff -r 782f22f642d8 -r b10c821f0b4e ChangeLog --- 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 + 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 revision [2446] - rovascope: convert to plugin2 architecture. diff -r 782f22f642d8 -r b10c821f0b4e src/spectrum/spectrum.c --- 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);