mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-25 16:13:54 -07:00
new files
This commit is contained in:
parent
7921b5f82d
commit
58e803c3e7
10 changed files with 452 additions and 0 deletions
22
cockatrice/src/localserver.h
Normal file
22
cockatrice/src/localserver.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue