changeset 3973:26c503cdce58

Add get_output_list() to PAPI for xmms-crossfade.
author William Pitcock <nenolod@atheme.org>
date Sun, 18 Nov 2007 18:24:38 -0600
parents d02ad27710b8
children 5a0ff5e965f6
files src/audacious/plugin.h src/audacious/pluginenum.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/plugin.h	Sun Nov 18 21:39:56 2007 +0900
+++ b/src/audacious/plugin.h	Sun Nov 18 18:24:38 2007 -0600
@@ -586,6 +586,8 @@
     void (*dock_move_motion)(GtkWindow * w, GdkEventMotion * event);
     void (*dock_move_release)(GtkWindow * w);
     gboolean (*dock_is_moving)(GtkWindow * w);
+
+    GList *(*get_output_list)(void);
 };
 
 /* Convenience macros for accessing the public API. */
@@ -923,6 +925,8 @@
 #define aud_dock_move_release                   _audvt->dock_move_release
 #define aud_dock_is_moving                      _audvt->dock_is_moving
 
+#define aud_get_output_list			_audvt->get_output_list
+
 #include "audacious/auddrct.h"
 
 /* for multi-file plugins :( */
--- a/src/audacious/pluginenum.c	Sun Nov 18 21:39:56 2007 +0900
+++ b/src/audacious/pluginenum.c	Sun Nov 18 18:24:38 2007 -0600
@@ -384,6 +384,8 @@
     .dock_move_motion = dock_move_motion,
     .dock_move_release = dock_move_release,
     .dock_is_moving = dock_is_moving,
+
+    .get_output_list = get_output_list,
 };
 
 /*****************************************************************/