]> git.tdb.fi Git - r2c2.git/blobdiff - source/engineer/mainpanel.h
Halt all trains in various unexpected situations
[r2c2.git] / source / engineer / mainpanel.h
index 017617dafff437f9fdec9281b7337a10a5d2b7c8..a24ef4976c59af9a0e6b9b7e7b71277ace13daa4 100644 (file)
@@ -22,6 +22,7 @@ private:
        Msp::GLtk::Indicator *ind_on;
        Msp::GLtk::Indicator *ind_off;
        Msp::GLtk::Label *lbl_status;
+       Msp::GLtk::Indicator *ind_halt;
 
 public:
        MainPanel(Engineer &, Msp::GLtk::Resources &);
@@ -30,9 +31,11 @@ public:
 private:
        void power_on();
        void power_off();
+       void toggle_halt();
        void new_loc();
        void quit();
        void power_event(bool);
+       void halt_event(bool);
 };
 
 #endif