]> git.tdb.fi Git - r2c2.git/blobdiff - source/engineer/mainpanel.h
Show each train's blocks in a unique color
[r2c2.git] / source / engineer / mainpanel.h
index 3e58d12bdca29ba17c14986672fabafff0376d31..017617dafff437f9fdec9281b7337a10a5d2b7c8 100644 (file)
@@ -1,13 +1,21 @@
+/* $Id$
+
+This file is part of the MSP Märklin suite
+Copyright © 2006-2008 Mikkosoft Productions, Mikko Rasa
+Distributed under the GPL
+*/
+
 #ifndef MAINPANEL_H_
 #define MAINPANEL_H_
 
+#include <sigc++/trackable.h>
 #include <msp/gltk/indicator.h>
 #include <msp/gltk/label.h>
 #include <msp/gltk/panel.h>
 
 class Engineer;
 
-class MainPanel: public Msp::GLtk::Panel
+class MainPanel: public Msp::GLtk::Panel, public sigc::trackable
 {
 private:
        Engineer &engineer;
@@ -24,6 +32,7 @@ private:
        void power_off();
        void new_loc();
        void quit();
+       void power_event(bool);
 };
 
 #endif