[Spice-devel] [PATCH spice-html5 3/5] spiceconn.js: Add missing channel names
Pavel Grunt
pgrunt at redhat.com
Mon Sep 7 07:38:33 PDT 2015
---
spiceconn.js | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/spiceconn.js b/spiceconn.js
index f19b109..70437be 100644
--- a/spiceconn.js
+++ b/spiceconn.js
@@ -374,6 +374,20 @@ SpiceConn.prototype =
return "inputs";
else if (this.type == SPICE_CHANNEL_CURSOR)
return "cursor";
+ else if (this.type == SPICE_CHANNEL_PLAYBACK)
+ return "playback";
+ else if (this.type == SPICE_CHANNEL_RECORD)
+ return "record";
+ else if (this.type == SPICE_CHANNEL_TUNNEL)
+ return "tunnel";
+ else if (this.type == SPICE_CHANNEL_SMARTCARD)
+ return "smartcard";
+ else if (this.type == SPICE_CHANNEL_USBREDIR)
+ return "usbredir";
+ else if (this.type == SPICE_CHANNEL_PORT)
+ return "port";
+ else if (this.type == SPICE_CHANNEL_WEBDAV)
+ return "webdav";
return "unknown-" + this.type;
},
--
2.5.0
More information about the Spice-devel
mailing list