diff options
author | Pavel Grunt <pgrunt@redhat.com> | 2015-09-07 14:31:05 +0200 |
---|---|---|
committer | Pavel Grunt <pgrunt@redhat.com> | 2015-09-09 09:04:53 +0200 |
commit | 289a76037111a904ee4de794a8e68d8ec6d88aa7 (patch) | |
tree | e0189a2e17311ab904474eff197526033ac9c0cf | |
parent | 4023af088b8a6413ac2caaac37e75ab0d589888e (diff) |
spiceconn.js: Add missing channel names
-rw-r--r-- | spiceconn.js | 14 |
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; }, |