changeset 1119:751a95e21a08 trunk

[svn] - songchange: converted to v2 plugin system
author giacomo
date Fri, 25 May 2007 02:45:58 -0700
parents 6f9882365155
children 0851e4439f37
files ChangeLog src/song_change/song_change.c
diffstat 2 files changed, 10 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri May 25 02:43:45 2007 -0700
+++ b/ChangeLog	Fri May 25 02:45:58 2007 -0700
@@ -1,3 +1,10 @@
+2007-05-25 09:43:45 +0000  Giacomo Lozito <james@develia.org>
+  revision [2402]
+  - lirc: converted to v2 plugin system
+  trunk/src/lirc/lirc.c |    9 +++------
+  1 file changed, 3 insertions(+), 6 deletions(-)
+
+
 2007-05-25 09:41:52 +0000  Giacomo Lozito <james@develia.org>
   revision [2400]
   - evdev-plug: converted to v2 plugin system
--- a/src/song_change/song_change.c	Fri May 25 02:43:45 2007 -0700
+++ b/src/song_change/song_change.c	Fri May 25 02:45:58 2007 -0700
@@ -42,18 +42,15 @@
 {
 	NULL,			/* handle */
 	NULL,			/* filename */
-	NULL,			/* Description */
+	"Song Change " PACKAGE_VERSION,			/* Description */
 	init,
 	NULL,
 	NULL,
 	cleanup,
 };
 
-GeneralPlugin *get_gplugin_info(void)
-{
-	sc_gp.description = g_strdup_printf(_("Song Change %s"), PACKAGE_VERSION);
-	return &sc_gp;
-}
+GeneralPlugin *songchange_gplist[] = { &sc_gp, NULL };
+DECLARE_PLUGIN(songchange, NULL, NULL, NULL, NULL, NULL, songchange_gplist, NULL);
 
 static void bury_child(int signal)
 {