X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Froute_processor_selection.h;h=3f8bb1a08cb445ff101a08bed62a21da70e27366;hb=f45ec9f87ba140560038fd36d31c1324e779548f;hp=df43019e91e75d4b0206e6801b7e2deea275ceb3;hpb=aae367b63c9b619db1e40f27dc334c6987219481;p=ardour.git diff --git a/gtk2_ardour/route_processor_selection.h b/gtk2_ardour/route_processor_selection.h index df43019e91..3f8bb1a08c 100644 --- a/gtk2_ardour/route_processor_selection.h +++ b/gtk2_ardour/route_processor_selection.h @@ -24,41 +24,44 @@ #include "pbd/signals.h" #include "processor_selection.h" -#include "route_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; - RouteSelection routes; + RouteUISelection routes; - 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 (RouteUI*); + void add (RouteUI*); + void remove (RouteUI*); void clear_processors (); void clear_routes (); - bool selected (boost::shared_ptr); + bool selected (RouteUI*); private: - void removed (boost::weak_ptr); + void removed (RouteUI*); + 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__ */