changeset 1118:6f9882365155 trunk

[svn] - lirc: converted to v2 plugin system
author giacomo
date Fri, 25 May 2007 02:43:45 -0700
parents 377c4c6e17a6
children 751a95e21a08
files ChangeLog src/lirc/lirc.c
diffstat 2 files changed, 10 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri May 25 02:41:52 2007 -0700
+++ b/ChangeLog	Fri May 25 02:43:45 2007 -0700
@@ -1,3 +1,10 @@
+2007-05-25 09:41:52 +0000  Giacomo Lozito <james@develia.org>
+  revision [2400]
+  - evdev-plug: converted to v2 plugin system
+  trunk/src/evdev-plug/ed.c |    9 +++------
+  1 file changed, 3 insertions(+), 6 deletions(-)
+
+
 2007-05-25 09:39:48 +0000  Giacomo Lozito <james@develia.org>
   revision [2398]
   - statusicon: converted to v2 plugin system
--- a/src/lirc/lirc.c	Fri May 25 02:41:52 2007 -0700
+++ b/src/lirc/lirc.c	Fri May 25 02:43:45 2007 -0700
@@ -53,18 +53,15 @@
 GeneralPlugin lirc_plugin = {
 	NULL,
 	NULL,
-	NULL,
+	"LIRC Plugin",
 	init,
 	about,
 	NULL,
 	cleanup,
 };
 
-GeneralPlugin *get_gplugin_info(void)
-{
-        lirc_plugin.description = g_strdup_printf(_("LIRC Plugin")); 
-        return(&lirc_plugin);
-}
+GeneralPlugin *lirc_gplist[] = { &lirc_plugin, NULL };
+DECLARE_PLUGIN(lirc, NULL, NULL, NULL, NULL, NULL, lirc_gplist, NULL);
 
 int lirc_fd=-1;
 struct lirc_config *config=NULL;