aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/CConn.h
diff options
context:
space:
mode:
Diffstat (limited to 'vncviewer/CConn.h')
-rw-r--r--vncviewer/CConn.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/vncviewer/CConn.h b/vncviewer/CConn.h
index b45f58d7..bc30d9b7 100644
--- a/vncviewer/CConn.h
+++ b/vncviewer/CConn.h
@@ -33,9 +33,11 @@ class DesktopWindow;
class CConn : public rfb::CConnection
{
public:
- CConn(const char* vncServerName, network::Socket* sock);
+ CConn();
~CConn();
+ void connect(const char* vncServerName, network::Socket* sock=nullptr);
+
std::string connectionInfo();
unsigned getUpdateCount();