X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fengineer%2Ftrainpanel.h;h=7b929856b840e6ff04e6eede5d338986f91f0332;hb=bc8ac89bbe774bb133b758416182aa18e5e0a5a5;hp=aae71f98431f0f49d50d06e6f6e64d158c3d4233;hpb=7587f018794f53974409a2aad76a0a421cea2d24;p=r2c2.git diff --git a/source/engineer/trainpanel.h b/source/engineer/trainpanel.h index aae71f9..7b92985 100644 --- a/source/engineer/trainpanel.h +++ b/source/engineer/trainpanel.h @@ -8,6 +8,7 @@ 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; @@ -36,6 +37,7 @@ public: private: void speed_slider_changed(double); void train_speed_changed(unsigned); + void train_reverse_changed(bool); void loco_function_changed(unsigned, bool); void train_route_changed(const Marklin::Route *); void train_status_changed(const std::string &);