# HG changeset patch # User nenolod # Date 1180347075 25200 # Node ID 40c1ffbe34d077843940687de1fb20985d491171 # Parent 359cd2c10405b8387725ceb09157c3c03ef6324c [svn] - xspf, m3u, pls: convert to plugin2 architecture diff -r 359cd2c10405 -r 40c1ffbe34d0 ChangeLog --- a/ChangeLog Mon May 28 03:05:08 2007 -0700 +++ b/ChangeLog Mon May 28 03:11:15 2007 -0700 @@ -1,3 +1,11 @@ +2007-05-28 10:05:08 +0000 William Pitcock + revision [2454] + - rootvis: convert to plugin2 architecture + + trunk/src/rootvis/rootvis.c | 11 +++++------ + 1 file changed, 5 insertions(+), 6 deletions(-) + + 2007-05-28 10:03:18 +0000 William Pitcock revision [2452] - rocklight: convert to plugin2 architecture. diff -r 359cd2c10405 -r 40c1ffbe34d0 src/m3u/m3u.c --- a/src/m3u/m3u.c Mon May 28 03:05:08 2007 -0700 +++ b/src/m3u/m3u.c Mon May 28 03:11:15 2007 -0700 @@ -204,15 +204,4 @@ playlist_container_unregister(&plc_m3u); } -LowlevelPlugin llp_m3u = { - NULL, - NULL, - "M3U Playlist Format", - init, - cleanup, -}; - -LowlevelPlugin *get_lplugin_info(void) -{ - return &llp_m3u; -} +DECLARE_PLUGIN(m3u, init, cleanup, NULL, NULL, NULL, NULL, NULL); diff -r 359cd2c10405 -r 40c1ffbe34d0 src/pls/pls.c --- a/src/pls/pls.c Mon May 28 03:05:08 2007 -0700 +++ b/src/pls/pls.c Mon May 28 03:11:15 2007 -0700 @@ -133,15 +133,4 @@ playlist_container_unregister(&plc_pls); } -LowlevelPlugin llp_pls = { - NULL, - NULL, - "Winamp .pls Playlist Format", - init, - cleanup, -}; - -LowlevelPlugin *get_lplugin_info(void) -{ - return &llp_pls; -} +DECLARE_PLUGIN(pls, init, cleanup, NULL, NULL, NULL, NULL, NULL); diff -r 359cd2c10405 -r 40c1ffbe34d0 src/xspf/xspf.c --- a/src/xspf/xspf.c Mon May 28 03:05:08 2007 -0700 +++ b/src/xspf/xspf.c Mon May 28 03:11:15 2007 -0700 @@ -639,15 +639,4 @@ playlist_container_unregister(&plc_xspf); } -LowlevelPlugin llp_xspf = { - NULL, - NULL, - "XSPF Playlist Format", - init, - cleanup, -}; - -LowlevelPlugin *get_lplugin_info(void) -{ - return &llp_xspf; -} +DECLARE_PLUGIN(xspf, init, cleanup, NULL, NULL, NULL, NULL, NULL);