diff options
Diffstat (limited to 'src/server/net/client.h')
-rw-r--r-- | src/server/net/client.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/server/net/client.h b/src/server/net/client.h index 872d0e1..e7c9c5c 100644 --- a/src/server/net/client.h +++ b/src/server/net/client.h @@ -12,8 +12,7 @@ #define NO_SOURCE 0 -struct ClientLogin -{ +struct ClientLogin { bool accept; QString name; QString host; @@ -39,13 +38,13 @@ public: inline const bool isActiveVncClient() const { return _isActiveVncClient; } inline const bool isActiveVncServer() const { return _vncPort > 0; } inline const bool isLocked() const { return _locked; } - inline const int desiredProjectionSource(){ return _desiredSource; } + inline const int desiredProjectionSource() { return _desiredSource; } inline const int projectionSource() const { return _projectionSource; } inline const int isExamMode() const { return _isExamMode; } // Setters - inline void setTutor(bool enable){ _isTutor = enable; } - inline void setDesiredProjectionSource(int id){_desiredSource = id;} + inline void setTutor(bool enable) { _isTutor = enable; } + inline void setDesiredProjectionSource(int id) {_desiredSource = id;} inline void setExamMode(bool mode) { _isExamMode = mode; } //Send message stuff |