X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Froute_processor_selection.h;h=3f8bb1a08cb445ff101a08bed62a21da70e27366;hb=6a436fd826d1c9d88b60287696cc0836ccce35aa;hp=eb76d481ddc031cfd347b77d212c7a61c923ad7a;hpb=f6fdd8dcbf41f864e9f0cc32dabe81fe3533ddfe;p=ardour.git diff --git a/gtk2_ardour/route_processor_selection.h b/gtk2_ardour/route_processor_selection.h index eb76d481dd..3f8bb1a08c 100644 --- a/gtk2_ardour/route_processor_selection.h +++ b/gtk2_ardour/route_processor_selection.h @@ -21,44 +21,47 @@ #define __ardour_gtk_route_processor_selection_h__ #include -#include "pbd/scoped_connections.h" +#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__ */