mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -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/localserverinterface.cpp
Normal file
22
cockatrice/src/localserverinterface.cpp
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#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));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue