mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 16:24:45 -07:00
foo
This commit is contained in:
parent
175512a2ad
commit
bb30012fbb
4 changed files with 31 additions and 25 deletions
|
|
@ -11,9 +11,8 @@ private:
|
|||
public:
|
||||
int getMsgId() const { return msgid; }
|
||||
QString getCmd() const { return cmd; }
|
||||
bool timeout() const { return time > 5; }
|
||||
void incTime() { ++time; }
|
||||
bool timeout() { return ++time > 5; }
|
||||
PendingCommand(const QString &_cmd, int _msgid) : cmd(_cmd), msgid(_msgid), time(0) { }
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue