make RouteUI and its children and relations able to switch the Route/IO object they...
[ardour.git] / gtk2_ardour / redirect_box.h
index 74a08321520b97dfd5560dc5e2e163cebb7cdd1b..0d0ce84bd2ca0be655adc06640eda4391d843247 100644 (file)
@@ -67,9 +67,11 @@ class RedirectBox : public Gtk::HBox, public PluginInterestedObject
 {
   public:
        RedirectBox (ARDOUR::Placement, ARDOUR::Session&, 
-                    boost::shared_ptr<ARDOUR::Route>, PluginSelector &, RouteRedirectSelection &, bool owner_is_mixer = false);
+                    PluginSelector &, RouteRedirectSelection &, bool owner_is_mixer = false);
        ~RedirectBox ();
 
+       void set_route (boost::shared_ptr<ARDOUR::Route>);
+
        void set_width (Width);
 
        void update();
@@ -85,13 +87,11 @@ class RedirectBox : public Gtk::HBox, public PluginInterestedObject
        
        static void register_actions();
 
-  protected:
-       void set_stuff_from_route ();
-
   private:
        boost::shared_ptr<ARDOUR::Route>  _route;
        ARDOUR::Session &   _session;
        bool                _owner_is_mixer;
+       std::vector<sigc::connection> connections;
 
        ARDOUR::Placement   _placement;