mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-17 15:32:11 -08:00
23 lines
483 B
C++
23 lines
483 B
C++
#include "localserverinterface.h"
|
|
#include "localserver.h"
|
|
|
|
LocalServerInterface::LocalServerInterface(LocalServer *_server)
|
|
: Server_ProtocolHandler(_server, _server)
|
|
{
|
|
}
|
|
|
|
LocalServerInterface::~LocalServerInterface()
|
|
{
|
|
}
|
|
|
|
bool LocalServerInterface::sendProtocolItem(ProtocolItem *item, bool deleteItem)
|
|
{
|
|
emit itemToClient(item);
|
|
return false;
|
|
}
|
|
|
|
void LocalServerInterface::itemFromClient(ProtocolItem *item)
|
|
{
|
|
processCommandContainer(static_cast<CommandContainer *>(item));
|
|
}
|