]> git.tdb.fi Git - r2c2.git/blobdiff - source/designer/toolbar.h
Do not require unique names for routes
[r2c2.git] / source / designer / toolbar.h
index a41f968682de7f7dae0b45ce7719536041b8ee6a..2a935d365fc686c7c7bbfc4d5bf88f95ffaf2e6f 100644 (file)
@@ -11,6 +11,7 @@ Distributed under the GPL
 #include <sigc++/trackable.h>
 #include <msp/gltk/dropdown.h>
 #include <msp/gltk/panel.h>
+#include "libmarklin/route.h"
 
 class Designer;
 
@@ -24,6 +25,8 @@ public:
        Toolbar(Designer &);
 private:
        void route_selected(unsigned, const std::string &);
+       void delete_route_clicked();
+       void route_added(Marklin::Route &);
        void update_routes();
 };