# HG changeset patch # User Cristi Magherusan # Date 1186599881 -10800 # Node ID 7ac9c5c6b44e1c215838942e5136304a6c8b0e4a # Parent b26dc3482ce7dcec43f55935e259c580862a3c32 fixed the interface diff -r b26dc3482ce7 -r 7ac9c5c6b44e src/audacious/Makefile --- a/src/audacious/Makefile Mon Aug 06 12:45:46 2007 +0200 +++ b/src/audacious/Makefile Wed Aug 08 22:04:41 2007 +0300 @@ -37,6 +37,7 @@ auddrct.h \ configdb.h \ dbus.h \ + discovery.h \ eventqueue.h \ formatter.h \ rcfile.h \ diff -r b26dc3482ce7 -r 7ac9c5c6b44e src/audacious/discovery.h --- a/src/audacious/discovery.h Mon Aug 06 12:45:46 2007 +0200 +++ b/src/audacious/discovery.h Wed Aug 08 22:04:41 2007 +0300 @@ -32,6 +32,15 @@ GList *enabled_list; }; +GList * discovery_devices; +typedef struct _discovery_device_t discovery_device_t; +struct _discovery_device_t { + gchar *device_name; /*some kind of description*/ + gchar *device_address; /*some kind of device ID*/ + GList *device_playlist; /*contains all the songs on the device*/ +}; + + GList *get_discovery_list(void); GList *get_discovery_enabled_list(void); void enable_discovery_plugin(gint i, gboolean enable); diff -r b26dc3482ce7 -r 7ac9c5c6b44e src/audacious/plugin.h --- a/src/audacious/plugin.h Mon Aug 06 12:45:46 2007 +0200 +++ b/src/audacious/plugin.h Wed Aug 08 22:04:41 2007 +0300 @@ -306,7 +306,7 @@ void (*cleanup) (void); void (*about) (void); void (*configure) (void); - gchar *(*get_devices); + GList *(*get_devices); }; G_BEGIN_DECLS