new files

This commit is contained in:
Max-Wilhelm Bruker 2010-08-04 13:57:13 +02:00
parent 7921b5f82d
commit 58e803c3e7
10 changed files with 452 additions and 0 deletions

View file

@ -0,0 +1,22 @@
#ifndef LOCALSERVER_H
#define LOCALSERVER_H
#include "server.h"
class LocalServerInterface;
class LocalServer : public Server
{
Q_OBJECT
public:
LocalServer(QObject *parent = 0);
~LocalServer();
AuthenticationResult checkUserPassword(const QString & /*user*/, const QString & /*password*/) { return UnknownUser; }
QString getLoginMessage() const { return QString(); }
int getMaxGameInactivityTime() const { return 9999999; }
int getMaxPlayerInactivityTime() const { return 9999999; }
LocalServerInterface *newConnection();
};
#endif