diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-05-05 12:31:49 +0100 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-05-05 18:56:25 +0100 |
commit | dc0139d4af4d246f6dcafb04425e3f1198c347c3 (patch) | |
tree | 096fa3207a951ec2d5e0338d207adac3f9872996 /gtk2_ardour/route_processor_selection.h | |
parent | 0c035778e162bd5934fc0070e43a26ffb4c8825a (diff) |
use CoreSelection for track selection
Diffstat (limited to 'gtk2_ardour/route_processor_selection.h')
-rw-r--r-- | gtk2_ardour/route_processor_selection.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/gtk2_ardour/route_processor_selection.h b/gtk2_ardour/route_processor_selection.h index c708723e4d..b0e7c36fbd 100644 --- a/gtk2_ardour/route_processor_selection.h +++ b/gtk2_ardour/route_processor_selection.h @@ -26,34 +26,36 @@ #include "processor_selection.h" #include "route_ui_selection.h" -class RouteProcessorSelection : public PBD::ScopedConnectionList, public sigc::trackable +namespace ARDOUR { + class SessionHandlePtr; +} + +class AxisViewProvider; + +class RouteProcessorSelection : public ProcessorSelection { public: - ProcessorSelection processors; AxisViewSelection axes; - RouteProcessorSelection(); + RouteProcessorSelection (ARDOUR::SessionHandlePtr&, AxisViewProvider&); RouteProcessorSelection& operator= (const RouteProcessorSelection& other); - sigc::signal<void> ProcessorsChanged; - void clear (); bool empty(); - void set (XMLNode* node); - void add (XMLNode* node); - void set (AxisView*); void add (AxisView*); void remove (AxisView*); + bool selected (AxisView*); - void clear_processors (); void clear_routes (); - bool selected (AxisView*); + void presentation_info_changed (PBD::PropertyChange const & what_changed); private: + ARDOUR::SessionHandlePtr& shp; + AxisViewProvider& avp; void removed (AxisView*); }; |