]> git.tdb.fi Git - r2c2.git/blobdiff - source/3d/layout.h
Major architecture rework
[r2c2.git] / source / 3d / layout.h
index 2e56ea63bd0195ea8ede83b3219f6f8dde1392f3..ba590dd37e2d8482d5180138f2ab6f663a7a6554 100644 (file)
@@ -8,6 +8,7 @@ Distributed under the GPL
 #ifndef MARKLIN3D_LAYOUT_H_
 #define MARKLIN3D_LAYOUT_H_
 
+#include <sigc++/trackable.h>
 #include <msp/gl/scene.h>
 #include "libmarklin/layout.h"
 #include "catalogue.h"
@@ -16,7 +17,7 @@ Distributed under the GPL
 
 namespace Marklin {
 
-class Layout3D
+class Layout3D: public sigc::trackable
 {
 private:
        Layout &layout;
@@ -38,7 +39,6 @@ public:
        Track3D &get_track(const Track &) const;
        Track3D *pick_track(float, float, float) const;
 
-       void set_traffic_manager(TrafficManager &);
        void add_train(Train3D &);
        void remove_train(Train3D &);
        Train3D &get_train(const Train &) const;