diff options
author | Manuel Schneider | 2014-05-27 00:23:19 +0200 |
---|---|---|
committer | Manuel Schneider | 2014-05-27 00:23:19 +0200 |
commit | 273550ed1696a25c135b74992240200db03d97e4 (patch) | |
tree | d24bf17b97f7a8f3e2dbe3e065d445daa1e13f64 /src/server/net/client.h | |
parent | Replace states by two flags indicating the state (diff) | |
download | pvs2-273550ed1696a25c135b74992240200db03d97e4.tar.gz pvs2-273550ed1696a25c135b74992240200db03d97e4.tar.xz pvs2-273550ed1696a25c135b74992240200db03d97e4.zip |
Drop _desiredProjectionSource. Dont send a stopVncClient if it has not been started before.
Diffstat (limited to 'src/server/net/client.h')
-rw-r--r-- | src/server/net/client.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/server/net/client.h b/src/server/net/client.h index 198b213..5623717 100644 --- a/src/server/net/client.h +++ b/src/server/net/client.h @@ -44,7 +44,6 @@ public: inline const QString& host() const { return _host; } inline const QString ip() const { return _socket->peerAddress().toString(); } inline const int id() const { return _id; } - inline const int desiredProjectionSource() const { return _desiredProjectionSource; } inline const int currentProjectionSource() const { return _currentProjectionSource; } // To be replaced by states inline const bool isActiveVncClient() const { return _activeVncClient; } @@ -53,15 +52,8 @@ public: // Setters inline void setBroadcastSource(bool enable) { _isBroadcastSource = enable; } - inline void setDesiredProjectionSource(int source) { _desiredProjectionSource = source; } inline void setTutor(bool enable){ _isTutor = enable; } - - //New ones -//b void startVncServer(); - - - //Send message stuff void startVncServer(); void stopVncServer(); @@ -82,7 +74,6 @@ private: NetworkMessage _fromClient; int _timerIdAuthTimeout, _timerPingTimeout; int _id; // this client's unique id - int _desiredProjectionSource; bool _isBroadcastSource; // Tells whether this client is currently the VNC broadcast source. int _currentProjectionSource; QString _vncRwPass, _vncRoPass; |