summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Grunt <pgrunt@redhat.com>2015-09-07 14:31:05 +0200
committerPavel Grunt <pgrunt@redhat.com>2015-09-09 09:04:53 +0200
commit289a76037111a904ee4de794a8e68d8ec6d88aa7 (patch)
treee0189a2e17311ab904474eff197526033ac9c0cf
parent4023af088b8a6413ac2caaac37e75ab0d589888e (diff)
spiceconn.js: Add missing channel names
-rw-r--r--spiceconn.js14
1 files changed, 14 insertions, 0 deletions
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;
},