mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-15 06:52:15 -07:00
24 lines
568 B
C++
24 lines
568 B
C++
#include "../../../cockatrice/src/server/local_server_interface.h"
|
|
|
|
#include "local_server.h"
|
|
|
|
#include <QDebug>
|
|
|
|
LocalServerInterface::LocalServerInterface(LocalServer *_server, Server_DatabaseInterface *_databaseInterface)
|
|
: Server_ProtocolHandler(_server, _databaseInterface, _server)
|
|
{
|
|
}
|
|
|
|
LocalServerInterface::~LocalServerInterface()
|
|
{
|
|
}
|
|
|
|
void LocalServerInterface::transmitProtocolItem(const ServerMessage &item)
|
|
{
|
|
emit itemToClient(item);
|
|
}
|
|
|
|
void LocalServerInterface::itemFromClient(const CommandContainer &item)
|
|
{
|
|
processCommandContainer(item);
|
|
}
|