X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Flayout.h;h=ba590dd37e2d8482d5180138f2ab6f663a7a6554;hb=651698847d5293cfb15b6fb23a394701388c0151;hp=2e56ea63bd0195ea8ede83b3219f6f8dde1392f3;hpb=dcfa1e9503b7e97b61396d7458f0b2e5896779cd;p=r2c2.git diff --git a/source/3d/layout.h b/source/3d/layout.h index 2e56ea6..ba590dd 100644 --- a/source/3d/layout.h +++ b/source/3d/layout.h @@ -8,6 +8,7 @@ Distributed under the GPL #ifndef MARKLIN3D_LAYOUT_H_ #define MARKLIN3D_LAYOUT_H_ +#include #include #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;