X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fnetwork%2Fclient.cpp;h=d418b8cad92c719d7d0a5f0cb217b8ee6ba89fea;hb=90f9efba8d88f41c7a180734b7bcbdd1501d995e;hp=2e003842e9c007e9c75334bd80e4765fb0ba143a;hpb=2e3ad91af312aaf20b10f1cbe6096cda7e8a97d1;p=r2c2.git diff --git a/source/network/client.cpp b/source/network/client.cpp index 2e00384..d418b8c 100644 --- a/source/network/client.cpp +++ b/source/network/client.cpp @@ -1,6 +1,6 @@ /* $Id$ -This file is part of the MSP Märklin suite +This file is part of R²C² Copyright © 2009 Mikkosoft Productions, Mikko Rasa Distributed under the GPL */ @@ -10,7 +10,7 @@ Distributed under the GPL using namespace std; using namespace Msp; -namespace Marklin { +namespace R2C2 { Client::Client(const Catalogue &c): catalogue(c), @@ -58,7 +58,7 @@ void Client::receive(const TrainInfoPacket &pkt) signal_train_added.emit(*train); } -void Client::receive(const TrainSpeedPacket &pkt) +void Client::receive(const TrainControlPacket &pkt) { get_train(pkt.address).process_packet(pkt); } @@ -88,4 +88,4 @@ void Client::receive(const ErrorPacket &pkt) signal_error.emit(pkt.message); } -} // namespace Marklin +} // namespace R2C2