diff options
author | Robin Gareus <robin@gareus.org> | 2016-05-10 20:11:08 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-05-10 20:54:11 +0200 |
commit | cc0abf4ef57a1211ea856e6ddd869d3953bef86d (patch) | |
tree | 218cf3c2db0758e95ce1ef4d4158749ab1005796 /gtk2_ardour/route_ui.h | |
parent | d53d9b01abd5f2000554846c44c791b82f30dc00 (diff) |
add route-ui pin-manager
Diffstat (limited to 'gtk2_ardour/route_ui.h')
-rw-r--r-- | gtk2_ardour/route_ui.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gtk2_ardour/route_ui.h b/gtk2_ardour/route_ui.h index 461419c848..4d6d135d46 100644 --- a/gtk2_ardour/route_ui.h +++ b/gtk2_ardour/route_ui.h @@ -39,6 +39,7 @@ #include "axis_view.h" #include "selectable.h" +#include "window_manager.h" namespace ARDOUR { class AudioTrack; @@ -55,6 +56,22 @@ class ArdourButton; class ArdourWindow; class IOSelectorWindow; +class RoutePinWindowProxy : public WM::ProxyBase +{ + public: + RoutePinWindowProxy (std::string const &, boost::shared_ptr<ARDOUR::Route>); + ~RoutePinWindowProxy(); + + Gtk::Window* get (bool create = false); + ARDOUR::SessionHandlePtr* session_handle(); + + private: + boost::weak_ptr<ARDOUR::Route> _route; + + void route_going_away (); + PBD::ScopedConnection going_away_connection; +}; + class RouteUI : public virtual AxisView { public: @@ -189,6 +206,9 @@ class RouteUI : public virtual AxisView void route_rename(); + void manage_pins (); + void maybe_add_route_print_mgr (); + virtual void property_changed (const PBD::PropertyChange&); void route_removed (); |