X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Froute_processor_selection.h;h=d92436dbc4821dd23c8077287112a8b61c55cbf0;hb=38e94875647782fa6c28e25be471f0cff6c97d2a;hp=a4d6f0f1a49ba8cc184927316746a3c73f520ebd;hpb=9990da35d849f6cbb748062d161062cc5fd6640a;p=ardour.git diff --git a/gtk2_ardour/route_processor_selection.h b/gtk2_ardour/route_processor_selection.h index a4d6f0f1a4..d92436dbc4 100644 --- a/gtk2_ardour/route_processor_selection.h +++ b/gtk2_ardour/route_processor_selection.h @@ -26,40 +26,38 @@ #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; +public: AxisViewSelection axes; - RouteProcessorSelection(); + RouteProcessorSelection (ARDOUR::SessionHandlePtr&, AxisViewProvider&); RouteProcessorSelection& operator= (const RouteProcessorSelection& other); - sigc::signal ProcessorsChanged; - sigc::signal RoutesChanged; - - void block_routes_changed (bool); - void clear (); bool empty(); - void set (XMLNode* node); - void add (XMLNode* node); - void set (AxisView*); - void add (AxisView*); - void remove (AxisView*); + void add (AxisView*, bool with_groups = false); + void remove (AxisView*, bool with_groups = false); + bool selected (AxisView*); - void clear_processors (); void clear_routes (); - bool selected (AxisView*); + void presentation_info_changed (PBD::PropertyChange const & what_changed); - private: +private: + ARDOUR::SessionHandlePtr& shp; + AxisViewProvider& avp; void removed (AxisView*); - static unsigned int _no_route_change_signal; - + std::list add_grouped_tracks (AxisView*) const; }; bool operator==(const RouteProcessorSelection& a, const RouteProcessorSelection& b);