changeset 1147:a4f8f966b275 trunk

[svn] - lastfm: convert to plugin2 architecture
author nenolod
date Mon, 28 May 2007 03:14:08 -0700
parents 183d03932c9e
children 884966a37b7b
files ChangeLog src/lastfm/lastfm.c
diffstat 2 files changed, 10 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon May 28 03:12:40 2007 -0700
+++ b/ChangeLog	Mon May 28 03:14:08 2007 -0700
@@ -1,3 +1,12 @@
+2007-05-28 10:12:40 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [2458]
+  - curl, stdio: convert to plugin2 architecture
+  
+  trunk/src/curl/curl.c   |   14 +-------------
+  trunk/src/stdio/stdio.c |   14 +-------------
+  2 files changed, 2 insertions(+), 26 deletions(-)
+
+
 2007-05-28 10:11:15 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [2456]
   - xspf, m3u, pls: convert to plugin2 architecture
--- a/src/lastfm/lastfm.c	Mon May 28 03:12:40 2007 -0700
+++ b/src/lastfm/lastfm.c	Mon May 28 03:14:08 2007 -0700
@@ -468,15 +468,4 @@
 	g_free(LastFMGlobalData);
 }
 
-LowlevelPlugin llp_lastfm = {
-	NULL,
-	NULL,
-	"lastfm:// URI Transport",
-	init,
-	cleanup,
-};
-
-LowlevelPlugin *get_lplugin_info(void)
-{
-	return &llp_lastfm;
-}
+DECLARE_PLUGIN(lastfm, init, cleanup, NULL, NULL, NULL, NULL, NULL);