servatrice/cockatrice/src/localserverinterface.h
ctrlaltca b29bd9e070
Clang-format (#3028)
* 1/3 Add .clang-format file and travis compilation check

* 2/3 Run clang-format

* 3/3 Fix compilation problems due to include reordering

* 3bis/3 AfterControlStatement: false
2018-01-27 10:41:32 +01:00

30 lines
667 B
C++

#ifndef LOCALSERVERINTERFACE_H
#define LOCALSERVERINTERFACE_H
#include "server_protocolhandler.h"
class LocalServer;
class LocalServerInterface : public Server_ProtocolHandler
{
Q_OBJECT
public:
LocalServerInterface(LocalServer *_server, Server_DatabaseInterface *_databaseInterface);
~LocalServerInterface();
QString getAddress() const
{
return QString();
}
QString getConnectionType() const
{
return "local";
};
void transmitProtocolItem(const ServerMessage &item);
signals:
void itemToClient(const ServerMessage &item);
public slots:
void itemFromClient(const CommandContainer &item);
};
#endif