]> git.tdb.fi Git - r2c2.git/blobdiff - source/engineer/trainpanel.h
Prevent a crash if a layout file contains empty routes
[r2c2.git] / source / engineer / trainpanel.h
index 2597d040c3c76f2e05afad4a214c7b8df2bd1f8b..817ba18b238d84a998bd4a6ade21166e15a13e62 100644 (file)
@@ -1,7 +1,7 @@
 /* $Id$
 
 This file is part of the MSP Märklin suite
-Copyright © 2006-2008 Mikkosoft Productions, Mikko Rasa
+Copyright © 2006-2009 Mikkosoft Productions, Mikko Rasa
 Distributed under the GPL
 */
 
@@ -33,10 +33,11 @@ public:
        TrainPanel(Engineer &, const Msp::GLtk::Resources &, Marklin::Train &);
 private:
        void speed_slider_changed(double);
-       void loco_speed_changed(unsigned);
+       void train_speed_changed(unsigned);
        void loco_function_changed(unsigned, bool);
        void train_status_changed(const std::string &);
        void place_clicked();
+       void edit_clicked();
        void forward_toggled(bool);
        void func_toggled(bool, unsigned);
 };