# HG changeset patch # User nenolod # Date 1180074889 25200 # Node ID 6e34e226676a4ee724ab916ca335dcd62fe45a0d # Parent 334afe46961ccbf25e9b78f614cb4c58325517fd [svn] - sun: convert to plugin API v2 diff -r 334afe46961c -r 6e34e226676a ChangeLog --- a/ChangeLog Thu May 24 23:33:06 2007 -0700 +++ b/ChangeLog Thu May 24 23:34:49 2007 -0700 @@ -1,3 +1,11 @@ +2007-05-25 06:33:06 +0000 William Pitcock + revision [2362] + - cdaudio-ng (aka Zither's CD Audio Plugin): convert to plugin API v2 + + trunk/src/cdaudio-ng/cdaudio-ng.c | 10 +++------- + 1 file changed, 3 insertions(+), 7 deletions(-) + + 2007-05-25 06:30:47 +0000 William Pitcock revision [2360] - amidi-plug: convert to plugin API v2 diff -r 334afe46961c -r 6e34e226676a src/sun/sun.c --- a/src/sun/sun.c Thu May 24 23:33:06 2007 -0700 +++ b/src/sun/sun.c Thu May 24 23:34:49 2007 -0700 @@ -31,7 +31,7 @@ { NULL, NULL, - NULL, /* Description */ + "BSD/Sun Output Plugin", /* Description */ sun_init, sun_cleanup, sun_about, @@ -50,13 +50,9 @@ NULL }; +OutputPlugin *sun_oplist[] = { &sun_op, NULL }; -OutputPlugin * get_oplugin_info(void) -{ - sun_op.description = g_strdup_printf(_("BSD Sun Driver %s"), - SUN_VERSION); - return (&sun_op); -} +DECLARE_PLUGIN(sun, NULL, NULL, NULL, sun_oplist, NULL, NULL, NULL); void sun_init(void) {