# HG changeset patch # User nenolod # Date 1180074786 25200 # Node ID 334afe46961ccbf25e9b78f614cb4c58325517fd # Parent baaf6702211944d2eb56788d57ad6ecc4a799b82 [svn] - cdaudio-ng (aka Zither's CD Audio Plugin): convert to plugin API v2 diff -r baaf67022119 -r 334afe46961c ChangeLog --- a/ChangeLog Thu May 24 23:30:47 2007 -0700 +++ b/ChangeLog Thu May 24 23:33:06 2007 -0700 @@ -1,3 +1,12 @@ +2007-05-25 06:30:47 +0000 William Pitcock + revision [2360] + - amidi-plug: convert to plugin API v2 + + trunk/src/amidi-plug/amidi-plug.c | 8 ++------ + trunk/src/amidi-plug/amidi-plug.h | 2 +- + 2 files changed, 3 insertions(+), 7 deletions(-) + + 2007-05-25 06:25:59 +0000 William Pitcock revision [2358] - adplug: convert to plugin API v2 diff -r baaf67022119 -r 334afe46961c src/cdaudio-ng/cdaudio-ng.c --- a/src/cdaudio-ng/cdaudio-ng.c Thu May 24 23:30:47 2007 -0700 +++ b/src/cdaudio-ng/cdaudio-ng.c Thu May 24 23:33:06 2007 -0700 @@ -79,7 +79,7 @@ static InputPlugin inputplugin = { NULL, NULL, - NULL, + "Zither's CD Audio Plugin", cdaudio_init, cdaudio_about, cdaudio_configure, @@ -104,13 +104,9 @@ cdaudio_get_song_tuple }; +InputPlugin *cdaudio_iplist[] = { &inputplugin, NULL }; -InputPlugin *get_iplugin_info(void) -{ - inputplugin.description = g_strdup_printf("Zither's CD Audio Plugin"); - return &inputplugin; -} - +DECLARE_PLUGIN(cdaudio, NULL, NULL, cdaudio_iplist, NULL, NULL, NULL, NULL); void cdaudio_init() {