X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fengineer%2Ftrainpanel.h;h=c8825af0120a5d8a98865c41fff7292ea1ba7259;hb=90790c9a28793d31b9ea38eea2f55652a0e9297b;hp=a76d907a1af33bcb994e365dafbc8a6e8e411b14;hpb=2fe7cbcb761487bc7409b93b372da6f8ab3c581e;p=r2c2.git diff --git a/source/engineer/trainpanel.h b/source/engineer/trainpanel.h index a76d907..c8825af 100644 --- a/source/engineer/trainpanel.h +++ b/source/engineer/trainpanel.h @@ -1,13 +1,14 @@ /* $Id$ This file is part of the MSP Märklin suite -Copyright © 2006-2009 Mikkosoft Productions, Mikko Rasa +Copyright © 2006-2010 Mikkosoft Productions, Mikko Rasa Distributed under the GPL */ #ifndef TRAINPANEL_H_ #define TRAINPANEL_H_ +#include #include #include #include @@ -17,7 +18,7 @@ Distributed under the GPL class Engineer; -class TrainPanel: public Msp::GLtk::Panel +class TrainPanel: public Msp::GLtk::Panel, public sigc::trackable { private: Engineer &engineer; @@ -37,7 +38,7 @@ private: void speed_slider_changed(double); void train_speed_changed(unsigned); void train_reverse_changed(bool); - void loco_function_changed(unsigned, bool); + void train_function_changed(unsigned, bool); void train_route_changed(const Marklin::Route *); void train_status_changed(const std::string &); void place_clicked();