X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fremote%2Fremote.cpp;h=830a06d05a2f3fc07eb624718629c45772a1f5aa;hb=90f9efba8d88f41c7a180734b7bcbdd1501d995e;hp=c6afc6de537e0ab4fe7d3d4ffb75970fc69af24f;hpb=2fe7cbcb761487bc7409b93b372da6f8ab3c581e;p=r2c2.git diff --git a/source/remote/remote.cpp b/source/remote/remote.cpp index c6afc6d..830a06d 100644 --- a/source/remote/remote.cpp +++ b/source/remote/remote.cpp @@ -1,7 +1,7 @@ /* $Id$ -This file is part of the MSP Märklin suite -Copyright © 2009 Mikkosoft Productions, Mikko Rasa +This file is part of R²C² +Copyright © 2009-2010 Mikkosoft Productions, Mikko Rasa Distributed under the GPL */ @@ -50,9 +50,9 @@ void Remote::tick() gtk.iteration(false); } -void Remote::train_added(Marklin::NetTrain &t) +void Remote::train_added(R2C2::NetTrain &t) { - TrainPanel *panel = new TrainPanel(client, t); + TrainPanel *panel = new TrainPanel(*this, client, t); if(!train_panels.empty()) { Gtk::HSeparator *sep = new Gtk::HSeparator;