Mercurial > audlegacy-plugins
changeset 1145:40c1ffbe34d0 trunk
[svn] - xspf, m3u, pls: convert to plugin2 architecture
author | nenolod |
---|---|
date | Mon, 28 May 2007 03:11:15 -0700 |
parents | 359cd2c10405 |
children | 183d03932c9e |
files | ChangeLog src/m3u/m3u.c src/pls/pls.c src/xspf/xspf.c |
diffstat | 4 files changed, 11 insertions(+), 36 deletions(-) [+] |
line wrap: on
line diff
--- 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 <nenolod@sacredspiral.co.uk> + 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 <nenolod@sacredspiral.co.uk> revision [2452] - rocklight: convert to plugin2 architecture.
--- 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);
--- 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);
--- 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);