Move reverse connection information into VNCSConnectionST
The only class that cares if connections are reversed or not is
VNCSConnectionST so let it keep track of this fact.
diff --git a/common/rfb/SConnection.h b/common/rfb/SConnection.h
index fd6d263..f154218 100644
--- a/common/rfb/SConnection.h
+++ b/common/rfb/SConnection.h
@@ -38,7 +38,7 @@
class SConnection : public SMsgHandler {
public:
- SConnection(bool reverseConnection_);
+ SConnection();
virtual ~SConnection();
// Methods to initialise the connection
@@ -206,7 +206,6 @@
SecurityServer *security;
SSecurity* ssecurity;
stateEnum state_;
- bool reverseConnection;
rdr::S32 preferredEncoding;
};
}