changeset 1437:dd2b97f79a20 trunk

[svn] - add audacious_set_session_uri().
author nenolod
date Fri, 28 Jul 2006 00:16:07 -0700
parents c70b68bcf527
children ce0285d8cede
files ChangeLog libaudacious/beepctrl.c libaudacious/beepctrl.h
diffstat 3 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Jul 28 00:13:02 2006 -0700
+++ b/ChangeLog	Fri Jul 28 00:16:07 2006 -0700
@@ -1,3 +1,13 @@
+2006-07-28 07:13:02 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [1786]
+  - add framework for later handling tcp:// connections
+  
+
+  Changes:        Modified:
+  +134 -12        trunk/libaudacious/beepctrl.c  
+  +6 -0           trunk/libaudacious/beepctrl.h  
+
+
 2006-07-28 06:15:43 +0000  William Pitcock <nenolod@nenolod.net>
   revision [1784]
   - add incomplete media library UI -- still lots to do
--- a/libaudacious/beepctrl.c	Fri Jul 28 00:13:02 2006 -0700
+++ b/libaudacious/beepctrl.c	Fri Jul 28 00:16:07 2006 -0700
@@ -297,6 +297,12 @@
     return data;
 }
 
+void
+audacious_set_session_uri(gchar *uri)
+{
+    session_uri = uri;
+}
+
 gchar *
 audacious_get_session_uri(gint session)
 {
--- a/libaudacious/beepctrl.h	Fri Jul 28 00:13:02 2006 -0700
+++ b/libaudacious/beepctrl.h	Fri Jul 28 00:16:07 2006 -0700
@@ -114,6 +114,10 @@
     gint xmms_remote_get_playqueue_position(gint session, gint pos);
     gint xmms_remote_get_playqueue_queue_position(gint session, gint pos);
 
+/* Added in Audacious 1.2 */
+    void audacious_set_session_uri(gchar *uri);
+    gchar *audacious_get_session_uri(gint session);
+
 #ifdef __cplusplus
 };
 #endif