summaryrefslogtreecommitdiffstats
path: root/client/red_client.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-06-22 16:36:42 +0200
committerAlexander Larsson <alexl@redhat.com>2010-06-22 17:34:45 +0200
commit72cf104c2897b4dd124c8a65df02e6895a9f1d88 (patch)
treea1f4c3db6621d16db6744fc84ee0a22736e5108b /client/red_client.h
parent652c13e71b8c203fc701edb6bad365c50e7cf1aa (diff)
downloadspice-72cf104c2897b4dd124c8a65df02e6895a9f1d88.tar.gz
spice-72cf104c2897b4dd124c8a65df02e6895a9f1d88.tar.xz
spice-72cf104c2897b4dd124c8a65df02e6895a9f1d88.zip
client: Support connecting to a major==1 server
Diffstat (limited to 'client/red_client.h')
-rw-r--r--client/red_client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/red_client.h b/client/red_client.h
index 1b81328a..52a3456b 100644
--- a/client/red_client.h
+++ b/client/red_client.h
@@ -152,6 +152,8 @@ public:
const std::string& get_host() { return _host;}
int get_port() { return _port;}
int get_sport() { return _sport;}
+ int get_protocol() { return _protocol;}
+ void set_protocol(int protocol) { _protocol = protocol;}
virtual uint32_t get_connection_id() { return _connection_id;}
uint32_t get_mouse_mode() { return _mouse_mode;}
Application& get_application() { return _application;}
@@ -212,6 +214,7 @@ private:
std::string _host;
int _port;
int _sport;
+ int _protocol;
std::string _password;
uint32_t _connection_id;
uint32_t _mouse_mode;