diff options
author | Manuel Schneider | 2014-05-22 12:27:16 +0200 |
---|---|---|
committer | Manuel Schneider | 2014-05-22 12:27:16 +0200 |
commit | dfe1328006193f2ad5013cecb9e4c3558cad6a2d (patch) | |
tree | 65df0d59c26ba99d6f74a0e928caf23441106367 /src/server/net/client.h | |
parent | Fix mitstake in rewrite 58646932664b6ab9014a410dc75dd443fb4f58b9 (diff) | |
download | pvs2-dfe1328006193f2ad5013cecb9e4c3558cad6a2d.tar.gz pvs2-dfe1328006193f2ad5013cecb9e4c3558cad6a2d.tar.xz pvs2-dfe1328006193f2ad5013cecb9e4c3558cad6a2d.zip |
Refactor ambigious projectionsSoure to BroadcastSource
Diffstat (limited to 'src/server/net/client.h')
-rw-r--r-- | src/server/net/client.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/net/client.h b/src/server/net/client.h index c148e76..198b213 100644 --- a/src/server/net/client.h +++ b/src/server/net/client.h @@ -49,10 +49,10 @@ public: // To be replaced by states inline const bool isActiveVncClient() const { return _activeVncClient; } inline const bool isActiveVncServer() const { return _vncPort > 0; } - inline const bool isProjectionSource() const { return _isProjectionSource; } + inline const bool isBroadcastSource() const { return _isBroadcastSource; } // Setters - inline void setProjectionSource(bool enable) { _isProjectionSource = enable; } + inline void setBroadcastSource(bool enable) { _isBroadcastSource = enable; } inline void setDesiredProjectionSource(int source) { _desiredProjectionSource = source; } inline void setTutor(bool enable){ _isTutor = enable; } @@ -83,7 +83,7 @@ private: int _timerIdAuthTimeout, _timerPingTimeout; int _id; // this client's unique id int _desiredProjectionSource; - bool _isProjectionSource; // Tells whether this client is currently the VNC broadcast source. + bool _isBroadcastSource; // Tells whether this client is currently the VNC broadcast source. int _currentProjectionSource; QString _vncRwPass, _vncRoPass; int _vncPort; // VNCserver state. Greater 0 -> active on this port. Equals 0 -> no server. |