changeset 3384:7ac9c5c6b44e

fixed the interface
author Cristi Magherusan <majeru@atheme-project.org>
date Wed, 08 Aug 2007 22:04:41 +0300
parents b26dc3482ce7
children d1b43bf0e67d
files src/audacious/Makefile src/audacious/discovery.h src/audacious/plugin.h
diffstat 3 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 \
--- 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);
--- 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