game inactivity timeout

This commit is contained in:
Max-Wilhelm Bruker 2010-01-31 17:29:59 +01:00
parent a9f590e905
commit 5efb92e2d6
7 changed files with 30 additions and 3 deletions

View file

@ -41,10 +41,14 @@ public:
bool execSqlQuery(QSqlQuery &query);
AuthenticationResult checkUserPassword(const QString &user, const QString &password);
QString getLoginMessage() const { return loginMessage; }
int getMaxGameInactivityTime() const { return maxGameInactivityTime; }
int getMaxPlayerInactivityTime() const { return maxPlayerInactivityTime; }
private:
QTcpServer *tcpServer;
QString loginMessage;
QSettings *settings;
int maxGameInactivityTime;
int maxPlayerInactivityTime;
};
#endif