X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Froute_processor_selection.h;h=6c037d7bd9ef0aae777a2a6f25e911565834c18f;hb=1c94f6490e3f0bd4b35a001a9a530cee752100b0;hp=83bdbc2d8bd2275d9090b547570e4abd04a7ab78;hpb=bb9cc45cd22af67ac275a5e73accbe14fee664d8;p=ardour.git diff --git a/gtk2_ardour/route_processor_selection.h b/gtk2_ardour/route_processor_selection.h index 83bdbc2d8b..6c037d7bd9 100644 --- a/gtk2_ardour/route_processor_selection.h +++ b/gtk2_ardour/route_processor_selection.h @@ -21,40 +21,47 @@ #define __ardour_gtk_route_processor_selection_h__ #include -#include +#include "pbd/signals.h" #include "processor_selection.h" -#include "route_selection.h" +#include "route_ui_selection.h" -class RouteRedirectSelection : public sigc::trackable +class RouteProcessorSelection : public PBD::ScopedConnectionList, public sigc::trackable { public: ProcessorSelection processors; - RouteSelection routes; + AxisViewSelection axes; - RouteRedirectSelection() {} + RouteProcessorSelection(); - RouteRedirectSelection& operator= (const RouteRedirectSelection& other); + 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 (boost::shared_ptr); - void add (boost::shared_ptr); - void remove (boost::shared_ptr); + void set (AxisView*); + void add (AxisView*); + void remove (AxisView*); void clear_processors (); void clear_routes (); - bool selected (boost::shared_ptr); + bool selected (AxisView*); + + private: + void removed (AxisView*); + bool _no_route_change_signal; + }; -bool operator==(const RouteRedirectSelection& a, const RouteRedirectSelection& b); +bool operator==(const RouteProcessorSelection& a, const RouteProcessorSelection& b); #endif /* __ardour_gtk_route_processor_selection_h__ */