changeset 1089:f61ed3f66f2a trunk

[svn] - metronom: convert to plugin API v2
author nenolod
date Thu, 24 May 2007 23:14:57 -0700
parents 07914886d6aa
children 3bcb772fa1b5
files ChangeLog src/metronom/metronom.c
diffstat 2 files changed, 12 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu May 24 23:13:01 2007 -0700
+++ b/ChangeLog	Thu May 24 23:14:57 2007 -0700
@@ -1,3 +1,11 @@
+2007-05-25 06:13:01 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [2342]
+  - cue: convert to plugin API v2
+  
+  trunk/src/cue/cuesheet.c |   12 +++++-------
+  1 file changed, 5 insertions(+), 7 deletions(-)
+
+
 2007-05-25 06:10:18 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [2340]
   - tta: convert to plugin API v2
--- a/src/metronom/metronom.c	Thu May 24 23:13:01 2007 -0700
+++ b/src/metronom/metronom.c	Thu May 24 23:14:57 2007 -0700
@@ -265,7 +265,7 @@
 {
 	NULL,
 	NULL,
-	"Tact Generator " VERSION,
+	"Tact Generator",
 	NULL,
 	metronom_about,
 	NULL,
@@ -293,7 +293,6 @@
 	NULL,
 };
 
-InputPlugin *get_iplugin_info(void)
-{
-	return &metronom_ip;
-}
+InputPlugin *metronom_iplist[] = { &metronom_ip, NULL };
+
+DECLARE_PLUGIN(metronom, NULL, NULL, metronom_iplist, NULL, NULL, NULL, NULL);