]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/track.h
Make LCD output selectable at runtime through an extra I/O pin
[r2c2.git] / source / libmarklin / track.h
index eaf8de217c8c267bf7e2d831da8002aab4a5c878..f065cb673e43a030115581d9e2380a1a54db2589 100644 (file)
@@ -33,6 +33,8 @@ public:
                void turnout_id(unsigned);
        };
 
+       sigc::signal<void, unsigned> signal_path_changed;
+
 private:
        Layout &layout;
        const TrackType &type;
@@ -77,7 +79,7 @@ public:
        int get_endpoint_by_link(Track &) const;
        Point get_endpoint_position(unsigned) const;
        float get_endpoint_direction(unsigned) const;
-       bool snap_to(Track &, bool);
+       bool snap_to(Track &, bool, float = 0);
        bool snap(Point &, float &) const;
        void break_link(Track &);
        void break_links();