more code for local playing

This commit is contained in:
Max-Wilhelm Bruker 2010-08-14 17:01:14 +02:00
parent f6a340ddf3
commit 5ff099f4bc
15 changed files with 267 additions and 137 deletions

View file

@ -26,6 +26,7 @@
class QSqlDatabase;
class QSettings;
class QSqlQuery;
class QTimer;
class Servatrice : public Server
{
@ -44,6 +45,7 @@ public:
int getMaxGameInactivityTime() const { return maxGameInactivityTime; }
int getMaxPlayerInactivityTime() const { return maxPlayerInactivityTime; }
private:
QTimer *pingClock;
QTcpServer *tcpServer;
QString loginMessage;
QSettings *settings;