]> git.tdb.fi Git - r2c2.git/blobdiff - source/designer/designer.h
Do not require unique names for routes
[r2c2.git] / source / designer / designer.h
index 5d22afb1c924c8b0a872d763820dc8567b8bff1f..5cb0c7849fe834186b2dad44aea14dcb66790711 100644 (file)
@@ -91,8 +91,9 @@ public:
        void new_track();
        void set_turnout_id();
        void set_sensor_id();
+       void rename_route();
 
-       void edit_route(Marklin::Route &);
+       void edit_route(Marklin::Route *);
        Marklin::Route *get_current_route() const { return cur_route; }
        void add_selection_to_route();
 
@@ -112,9 +113,10 @@ private:
        void measure_done();
        void turnout_id_accept(const std::string &);
        void sensor_id_accept(const std::string &);
+       void route_name_accept(const std::string &);
        void view_all();
        std::string tooltip(int, int);
-       void show_route(const Marklin::Route &);
+       void show_route(const Marklin::Route *);
 };
 
 #endif