mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
initial commit: buddy list, ignore list
This commit is contained in:
parent
5e99950e1f
commit
acac5addd6
24 changed files with 197 additions and 62 deletions
|
|
@ -27,7 +27,7 @@ protected:
|
|||
bool acceptsUserListChanges;
|
||||
bool acceptsRoomListChanges;
|
||||
ServerInfo_User *userInfo;
|
||||
|
||||
QList<ServerInfo_User *> buddyList, ignoreList;
|
||||
private:
|
||||
QList<ProtocolItem *> itemQueue;
|
||||
QDateTime lastCommandTime;
|
||||
|
|
@ -95,6 +95,8 @@ public:
|
|||
bool getAcceptsRoomListChanges() const { return acceptsRoomListChanges; }
|
||||
ServerInfo_User *getUserInfo() const { return userInfo; }
|
||||
void setUserInfo(ServerInfo_User *_userInfo) { userInfo = _userInfo; }
|
||||
const QList<ServerInfo_User *> &getBuddyList() const { return buddyList; }
|
||||
const QList<ServerInfo_User *> &getIgnoreList() const { return ignoreList; }
|
||||
const QDateTime &getLastCommandTime() const { return lastCommandTime; }
|
||||
|
||||
void processCommandContainer(CommandContainer *cont);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue