diff options
author | Kissaki <kissaki@gmx.de> | 2013-06-29 00:02:48 +0400 |
---|---|---|
committer | Kissaki <kissaki@gmx.de> | 2013-06-29 00:02:48 +0400 |
commit | b951fc352b3317b7b5c87303908de54932200ae7 (patch) | |
tree | 55b02b768fa3206f23c9e594917cf927ecc08bc0 /src/User.h | |
parent | f6ceaf9d2bd706149b1887c4f4cc9e9145a32f41 (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.h | 3 |
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 |