diff options
author | Christian Klinger | 2016-09-29 15:40:18 +0200 |
---|---|---|
committer | Christian Klinger | 2016-09-29 15:40:18 +0200 |
commit | 3d82bfc698165bb20f3c38d42f2b77ab855c1edf (patch) | |
tree | 2c170bcdd5c89259bb0b530fa11fdfe701c99850 /src/server/net/client.h | |
parent | added an information dialog that displays ip and hostname. (diff) | |
download | pvs2-3d82bfc698165bb20f3c38d42f2b77ab855c1edf.tar.gz pvs2-3d82bfc698165bb20f3c38d42f2b77ab855c1edf.tar.xz pvs2-3d82bfc698165bb20f3c38d42f2b77ab855c1edf.zip |
astyle.
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 |