/* $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
*/
using namespace std;
using namespace Msp;
-namespace Marklin {
+namespace R2C2 {
Client::Client(const Catalogue &c):
catalogue(c),
signal_train_added.emit(*train);
}
-void Client::receive(const TrainSpeedPacket &pkt)
+void Client::receive(const TrainControlPacket &pkt)
{
get_train(pkt.address).process_packet(pkt);
}
signal_error.emit(pkt.message);
}
-} // namespace Marklin
+} // namespace R2C2