diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-10-05 15:36:45 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-10-05 15:36:45 +0000 |
commit | b462493f44d9004853a6d242ae295496af12478c (patch) | |
tree | 66f8a04b9fcc9c7083d33ecfb4915b94dfbfc770 /gtk2_ardour/redirect_box.h | |
parent | f138091f7e6413623390cd2168aaac7d0a7d71c2 (diff) |
make RouteUI and its children and relations able to switch the Route/IO object they refer to (significant architectural changes)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3869 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/redirect_box.h')
-rw-r--r-- | gtk2_ardour/redirect_box.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/redirect_box.h b/gtk2_ardour/redirect_box.h index 74a0832152..0d0ce84bd2 100644 --- a/gtk2_ardour/redirect_box.h +++ b/gtk2_ardour/redirect_box.h @@ -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; |