diff src/audacious/plugin.h @ 2794:2685fc11cd9a trunk

[svn] - begin work on the host side of plugin API v2.
author nenolod
date Thu, 24 May 2007 01:47:50 -0700
parents 637359219e10
children e9af66a1be74
line wrap: on
line diff
--- a/src/audacious/plugin.h	Wed May 23 23:03:10 2007 -0700
+++ b/src/audacious/plugin.h	Thu May 24 01:47:50 2007 -0700
@@ -51,7 +51,8 @@
 #define LOWLEVEL_PLUGIN(x) ((LowlevelPlugin *)(x))
 
 #define __AUDACIOUS_NEWVFS__
-#define __AUDACIOUS_INPUT_PLUGIN_API__ 2
+#define __AUDACIOUS_PLUGIN_API__ 2
+#define __AUDACIOUS_INPUT_PLUGIN_API__ 3
 
 typedef enum {
     FMT_U8,
@@ -88,6 +89,7 @@
 struct _Plugin {
     gpointer handle;
     gchar *filename;
+    gchar *description;
 };
 
 /*
@@ -213,7 +215,6 @@
     gpointer handle;
     gchar *filename;
 
-    gint xmms_session;
     gchar *description;
 
     void (*init) (void);
@@ -226,7 +227,6 @@
     gpointer handle;
     gchar *filename;
 
-    gint xmms_session;
     gchar *description;
 
     gint num_pcm_chs_wanted;