[Spice-commits] data/spice-protocol.vapi gtk/controller

Marc-André Lureau elmarco at kemper.freedesktop.org
Wed Jan 30 05:04:11 PST 2013


 data/spice-protocol.vapi       |    2 ++
 gtk/controller/controller.vala |    5 +++++
 2 files changed, 7 insertions(+)

New commits:
commit 19615f03adff1d2dcb22a216728e74e9a656c38f
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date:   Wed Jan 30 14:03:54 2013 +0100

    controller: add proxy property

diff --git a/data/spice-protocol.vapi b/data/spice-protocol.vapi
index 66f1373..cca03ed 100644
--- a/data/spice-protocol.vapi
+++ b/data/spice-protocol.vapi
@@ -66,6 +66,8 @@ namespace SpiceProtocol {
 			ENABLE_USB_AUTOSHARE,
 			USB_FILTER,
 
+			PROXY,
+
 			//spice client -> external app
 			MENU_ITEM_CLICK,
 
diff --git a/gtk/controller/controller.vala b/gtk/controller/controller.vala
index 1ff621f..84b4527 100644
--- a/gtk/controller/controller.vala
+++ b/gtk/controller/controller.vala
@@ -46,6 +46,7 @@ public class Controller: Object {
 	public bool enable_usbredir { private set; get; }
 	public bool enable_usb_autoshare { private set; get; }
 	public string usb_filter { private set; get; }
+	public string proxy { private set; get; }
 
 	public signal void do_connect ();
 	public signal void show ();
@@ -196,6 +197,10 @@ public class Controller: Object {
 			usb_filter = str;
 			debug ("got USB_FILTER %s".printf (str));
 			break;
+		case SpiceProtocol.Controller.MsgId.PROXY:
+			proxy = str;
+			debug ("got PROXY %s".printf (str));
+			break;
 		default:
 			debug ("got unknown msg.id %u".printf (msg.id));
 			warn_if_reached ();


More information about the Spice-commits mailing list