initial commit

This commit is contained in:
Max-Wilhelm Bruker 2009-03-13 22:50:41 +01:00
commit a11f93df4d
99 changed files with 7493 additions and 0 deletions

View file

@ -0,0 +1,19 @@
#ifndef PENDINGCOMMAND_H
#define PENDINGCOMMAND_H
#include <QString>
class PendingCommand {
private:
QString cmd;
int msgid;
int time;
public:
int getMsgId() const { return msgid; }
QString getCmd() const { return cmd; }
bool timeout() const { return time > 5; }
void incTime() { ++time; }
PendingCommand(const QString &_cmd, int _msgid) : cmd(_cmd), msgid(_msgid), time(0) { }
};
#endif