PB: server compiles again, standalone RemoteClient is able to log in

This commit is contained in:
Max-Wilhelm Bruker 2011-12-30 21:50:25 +01:00
parent 10018280e5
commit d3b96b1a88
39 changed files with 988 additions and 807 deletions

View file

@ -12,16 +12,12 @@ LocalServerInterface::~LocalServerInterface()
prepareDestroy();
}
void LocalServerInterface::sendProtocolItem(ProtocolItem *item, bool deleteItem)
void LocalServerInterface::transmitProtocolItem(const ServerMessage &item)
{
item->setReceiverMayDelete(false);
emit itemToClient(item);
if (deleteItem)
delete item;
}
#include "pb/commands.pb.h"
void LocalServerInterface::itemFromClient(const CommandContainer &item)
{
qDebug() << "READ" << QString::fromStdString(item.ShortDebugString());
processCommandContainer(item);
}