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:
authorKissaki <kissaki@gmx.de>2013-06-29 00:02:48 +0400
committerKissaki <kissaki@gmx.de>2013-06-29 00:02:48 +0400
commitb951fc352b3317b7b5c87303908de54932200ae7 (patch)
tree55b02b768fa3206f23c9e594917cf927ecc08bc0 /src/User.h
parentf6ceaf9d2bd706149b1887c4f4cc9e9145a32f41 (diff)
Userlist Improvements: Use RPC callbacks as well.
* Make getRegisteredUsersEx use RPC callbacks * Implement UserInfo constructors
Diffstat (limited to 'src/User.h')
-rw-r--r--src/User.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/User.h b/src/User.h
index ac1742985..85baeddb5 100644
--- a/src/User.h
+++ b/src/User.h
@@ -67,6 +67,9 @@ struct UserInfo {
QString name;
boost::optional<int> last_channel;
QString last_active;
+
+ UserInfo() : user_id(-1) {}
+ UserInfo(int id, QString uname) : user_id(id), name(uname) {}
};
#endif