Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert <krzmbrzl@gmail.com>2020-09-11 19:29:33 +0300
committerRobert <krzmbrzl@gmail.com>2020-09-11 19:29:33 +0300
commitaf7dac72f4063dd8d4dac71973ea51c25896089a (patch)
tree35558695aea94d48fd9e77d164d63fd8b7c76e90 /src/User.h
parent40b28b03c150b453e00c6bc4f8d6957caea59c51 (diff)
FORMAT: Run clang-format 10 on all C/CXX source-files
Diffstat (limited to 'src/User.h')
-rw-r--r--src/User.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/src/User.h b/src/User.h
index b1c61b181..469cc8d45 100644
--- a/src/User.h
+++ b/src/User.h
@@ -7,46 +7,46 @@
#define MUMBLE_USER_H_
#ifndef Q_MOC_RUN
-# include <boost/optional.hpp>
+# include <boost/optional.hpp>
#endif
#include <QtCore/QByteArray>
#include <QtCore/QDateTime>
-#include <QtCore/QString>
#include <QtCore/QList>
+#include <QtCore/QString>
class Channel;
class User {
- private:
- Q_DISABLE_COPY(User)
-
- public:
- unsigned int uiSession;
- int iId;
- QString qsName;
- QString qsComment;
- QByteArray qbaCommentHash;
- QString qsHash;
- bool bMute, bDeaf, bSuppress;
- bool bSelfMute, bSelfDeaf;
- bool bPrioritySpeaker;
- bool bRecording;
- Channel *cChannel;
- QByteArray qbaTexture;
- QByteArray qbaTextureHash;
-
- User();
- virtual ~User() {};
-
- static bool lessThan(const User *, const User *);
+private:
+ Q_DISABLE_COPY(User)
+
+public:
+ unsigned int uiSession;
+ int iId;
+ QString qsName;
+ QString qsComment;
+ QByteArray qbaCommentHash;
+ QString qsHash;
+ bool bMute, bDeaf, bSuppress;
+ bool bSelfMute, bSelfDeaf;
+ bool bPrioritySpeaker;
+ bool bRecording;
+ Channel *cChannel;
+ QByteArray qbaTexture;
+ QByteArray qbaTextureHash;
+
+ User();
+ virtual ~User(){};
+
+ static bool lessThan(const User *, const User *);
};
// for last seen
struct UserInfo {
int user_id;
QString name;
- boost::optional<int> last_channel;
+ boost::optional< int > last_channel;
QDateTime last_active;
UserInfo() : user_id(-1) {}