Mercurial > audlegacy
diff src/audacious/plugin.h @ 2711:c35913222440 trunk
[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
| author | magma |
|---|---|
| date | Wed, 09 May 2007 14:36:37 -0700 |
| parents | 6393862824e5 |
| children | 643be93d0a30 |
line wrap: on
line diff
--- a/src/audacious/plugin.h Wed May 09 14:35:33 2007 -0700 +++ b/src/audacious/plugin.h Wed May 09 14:36:37 2007 -0700 @@ -37,11 +37,18 @@ #ifndef BMP_PLUGIN_H #define BMP_PLUGIN_H +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include <glib.h> #include "audacious/vfs.h" #include "audacious/titlestring.h" +#ifdef USE_DBUS +#include <dbus/dbus-glib.h> +#endif + #define INPUT_PLUGIN(x) ((InputPlugin *)(x)) #define OUTPUT_PLUGIN(x) ((OutputPlugin *)(x)) #define EFFECT_PLUGIN(x) ((EffectPlugin *)(x)) @@ -214,6 +221,9 @@ gchar *filename; gint xmms_session; +#ifdef USE_DBUS + DBusGProxy *dbus_proxy; +#endif gchar *description; void (*init) (void); @@ -227,6 +237,9 @@ gchar *filename; gint xmms_session; +#ifdef USE_DBUS + DBusGProxy *dbus_proxy; +#endif gchar *description; gint num_pcm_chs_wanted;
