]> git.tdb.fi Git - r2c2.git/blobdiff - source/engineer/trainpanel.h
Emit various signals from Train when it's loaded
[r2c2.git] / source / engineer / trainpanel.h
index a76d907a1af33bcb994e365dafbc8a6e8e411b14..7b929856b840e6ff04e6eede5d338986f91f0332 100644 (file)
@@ -8,6 +8,7 @@ Distributed under the GPL
 #ifndef TRAINPANEL_H_
 #define TRAINPANEL_H_
 
+#include <sigc++/trackable.h>
 #include <msp/gltk/hslider.h>
 #include <msp/gltk/label.h>
 #include <msp/gltk/panel.h>
@@ -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;