]> git.tdb.fi Git - r2c2.git/blobdiff - source/engineer/mainpanel.h
Make LCD output selectable at runtime through an extra I/O pin
[r2c2.git] / source / engineer / mainpanel.h
index 017617dafff437f9fdec9281b7337a10a5d2b7c8..17e95dbfac7e87682a5f093b5abc0f423435375e 100644 (file)
@@ -22,17 +22,20 @@ 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 &);
+       MainPanel(Engineer &);
 
        void set_status_text(const std::string &);
 private:
        void power_on();
        void power_off();
+       void toggle_halt();
        void new_loc();
        void quit();
        void power_event(bool);
+       void halt_event(bool);
 };
 
 #endif