changeset 1077:247737fdf8ce trunk

[svn] - esd: transition to plugin API v2
author nenolod
date Thu, 24 May 2007 16:12:47 -0700
parents 91f6c4647bae
children 094fa3026e3d
files ChangeLog src/esd/esd.c
diffstat 2 files changed, 13 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu May 24 16:07:16 2007 -0700
+++ b/ChangeLog	Thu May 24 16:12:47 2007 -0700
@@ -1,3 +1,11 @@
+2007-05-24 23:07:16 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [2318]
+  - filewriter: transition to plugin API v2
+  
+  trunk/src/filewriter/filewriter.c |   10 ++++------
+  1 file changed, 4 insertions(+), 6 deletions(-)
+
+
 2007-05-24 22:53:40 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [2316]
   - conversion to yaz's style was not needed, just API v2 ;p
--- a/src/esd/esd.c	Thu May 24 16:07:16 2007 -0700
+++ b/src/esd/esd.c	Thu May 24 16:12:47 2007 -0700
@@ -1,5 +1,4 @@
-
-/*      xmms - esound outputmkdir  plugin
+/*    xmms - esound output plugin
  *    Copyright (C) 1999      Galex Yen
  *      
  *      this program is free software
@@ -24,7 +23,7 @@
 OutputPlugin esd_op = {
     NULL,
     NULL,
-    NULL,                       /* Description */
+    "ESD Output Plugin",
     esdout_init,
     NULL,
     esdout_about,
@@ -43,9 +42,6 @@
     esdout_tell
 };
 
-OutputPlugin *
-get_oplugin_info(void)
-{
-    esd_op.description = g_strdup_printf(_("eSound Output Plugin"));
-    return &esd_op;
-}
+OutputPlugin *esd_oplist[] = { &esd_op, NULL };
+
+DECLARE_PLUGIN(esd, NULL, NULL, NULL, esd_oplist, NULL, NULL, NULL);