X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Froute_processor_selection.h;h=a4d6f0f1a49ba8cc184927316746a3c73f520ebd;hb=d7660957325bdebbb75f21c0d19b9f0aad6e7f37;hp=08616f0d505f90be976536ea7be4063da48878b3;hpb=8f078d7fd40878d08ad4d048f0606a27901c7475;p=ardour.git diff --git a/gtk2_ardour/route_processor_selection.h b/gtk2_ardour/route_processor_selection.h index 08616f0d50..a4d6f0f1a4 100644 --- a/gtk2_ardour/route_processor_selection.h +++ b/gtk2_ardour/route_processor_selection.h @@ -26,39 +26,42 @@ #include "processor_selection.h" #include "route_ui_selection.h" -class RouteRedirectSelection : public PBD::ScopedConnectionList, public sigc::trackable +class RouteProcessorSelection : public PBD::ScopedConnectionList, public sigc::trackable { public: ProcessorSelection processors; - RouteUISelection 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 (RouteUI*); - void add (RouteUI*); - void remove (RouteUI*); + void set (AxisView*); + void add (AxisView*); + void remove (AxisView*); void clear_processors (); void clear_routes (); - bool selected (RouteUI*); + bool selected (AxisView*); private: - void removed (RouteUI*); + void removed (AxisView*); + static unsigned int _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__ */