provide link-editor-and-mixer-selection option. gui implementation is slightly hacky because of the implicit endless loop that the link creates

git-svn-id: svn://localhost/ardour2/branches/3.0@10624 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-11-15 19:33:09 +00:00
parent a7359ed268
commit e2757229a7
18 changed files with 191 additions and 42 deletions

View file

@ -26,19 +26,21 @@
#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;
RouteRedirectSelection() {}
RouteProcessorSelection();
RouteRedirectSelection& operator= (const RouteRedirectSelection& other);
RouteProcessorSelection& operator= (const RouteProcessorSelection& other);
sigc::signal<void> ProcessorsChanged;
sigc::signal<void> RoutesChanged;
void block_routes_changed (bool);
void clear ();
bool empty();
@ -56,9 +58,10 @@ class RouteRedirectSelection : public PBD::ScopedConnectionList, public sigc::tr
private:
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__ */