[vino] Add ShareWithTube dbus method



commit 3c5e6688597ba954c7ef46e12f57298891ce8f0d
Author: Arnaud Maillet <arnaud maillet collabora co uk>
Date:   Mon Apr 27 18:18:01 2009 +0200

    Add ShareWithTube dbus method
---
 server/dbus-interface.xml   |    5 +++++
 server/vino-dbus-listener.c |   18 +++++++++++++++++-
 2 files changed, 22 insertions(+), 1 deletions(-)

diff --git a/server/dbus-interface.xml b/server/dbus-interface.xml
index 6a76f46..75f3349 100644
--- a/server/dbus-interface.xml
+++ b/server/dbus-interface.xml
@@ -10,6 +10,11 @@
     <method name="GetExternalPort">
       <arg name="port" direction="out" type="d"/>
     </method>
+    <method name="ShareWithTube">
+      <arg name="connection" direction="in" type="o"/>
+      <arg name="tube" direction="in" type="o"/>
+      <arg name="properties" direction="in" type="a{sv}"/>
+    </method>
     <signal name="ServerInfoChanged">
     </signal>
   </interface>
diff --git a/server/vino-dbus-listener.c b/server/vino-dbus-listener.c
index 5bfc5e6..fa6e4ed 100644
--- a/server/vino-dbus-listener.c
+++ b/server/vino-dbus-listener.c
@@ -41,7 +41,6 @@
 
 #include <dbus/dbus-glib.h>
 #include <dbus/dbus-glib-lowlevel.h>
-
 #include <dbus/dbus-glib-bindings.h>
 
 #include "vino-util.h"
@@ -84,6 +83,13 @@ vino_dbus_listener_get_internal_data (VinoDBusListener *listener,
                                       gdouble * port,
                                       GError **error);
 
+static gboolean
+vino_dbus_listener_share_with_tube (VinoDBusListener *listener,
+                                    const gchar * connection_path,
+                                    const gchar * tube_path,
+                                    GHashTable * properties,
+                                    GError **error);
+
 #include "dbus-interface-glue.h"
 
 static void vino_dbus_listener_set_server (VinoDBusListener *listener,
@@ -290,6 +296,16 @@ vino_dbus_listener_get_internal_data (VinoDBusListener *listener,
   return TRUE;
 }
 
+static gboolean
+vino_dbus_listener_share_with_tube (VinoDBusListener *listener,
+                                    const gchar * connection_path,
+                                    const gchar * tube_path,
+                                    GHashTable * properties,
+                                    GError **error)
+{
+  return TRUE;
+}
+
 static void
 vino_dbus_listener_info_changed (VinoServer *server,
                                  GParamSpec *property,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]