diff options
Diffstat (limited to 'src/server/net')
| -rw-r--r-- | src/server/net/client.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/net/client.h b/src/server/net/client.h index d5942e8..1031838 100644 --- a/src/server/net/client.h +++ b/src/server/net/client.h @@ -37,9 +37,11 @@ public: inline const bool isActiveVncClient() const { return _currentProjectionSource > 0; } inline const bool isActiveVncServer() const { return _vncPort > 0; } inline const bool isLocked() const { return _locked; } + inline const bool isWatcher() const { return _isWatcher; } // Setters inline void setTutor(bool enable){ _isTutor = enable; } + inline void setWatcher(bool enable){ _isWatcher = enable; } //Send message stuff void startVncServer(); @@ -65,6 +67,7 @@ private: int _vncPort; // VNCserver state. Greater 0 -> active on this port. Equals 0 -> no server. int _currentProjectionSource; // VNCclient state. indicating that the client is displaying a remote screen via VNC bool _isTutor; // Flag indicating that the client has been set as a tutor + bool _isWatcher; // Flag indicates that the client should watch to VNC Server. static int _clientIdCounter; |
