projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bug fixes for vertically-drawn Canvas::Meter
[ardour.git]
/
gtk2_ardour
/
route_processor_selection.h
diff --git
a/gtk2_ardour/route_processor_selection.h
b/gtk2_ardour/route_processor_selection.h
index 83bdbc2d8bd2275d9090b547570e4abd04a7ab78..6c037d7bd9ef0aae777a2a6f25e911565834c18f 100644
(file)
--- 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 <vector>
#define __ardour_gtk_route_processor_selection_h__
#include <vector>
-#include
<sigc++/signal.h>
+#include
"pbd/signals.h"
#include "processor_selection.h"
#include "processor_selection.h"
-#include "route_selection.h"
+#include "route_
ui_
selection.h"
-class Route
RedirectSelection :
public sigc::trackable
+class Route
ProcessorSelection : public PBD::ScopedConnectionList,
public sigc::trackable
{
public:
ProcessorSelection processors;
{
public:
ProcessorSelection processors;
-
RouteSelection rout
es;
+
AxisViewSelection ax
es;
- Route
RedirectSelection() {}
+ Route
ProcessorSelection();
- Route
RedirectSelection& operator= (const RouteRedirect
Selection& other);
+ Route
ProcessorSelection& operator= (const RouteProcessor
Selection& other);
sigc::signal<void> ProcessorsChanged;
sigc::signal<void> RoutesChanged;
sigc::signal<void> ProcessorsChanged;
sigc::signal<void> RoutesChanged;
+ void block_routes_changed (bool);
+
void clear ();
bool empty();
void set (XMLNode* node);
void add (XMLNode* node);
void clear ();
bool empty();
void set (XMLNode* node);
void add (XMLNode* node);
- void set (
boost::shared_ptr<ARDOUR::Route>
);
- void add (
boost::shared_ptr<ARDOUR::Route>
);
- void remove (
boost::shared_ptr<ARDOUR::Route>
);
+ void set (
AxisView*
);
+ void add (
AxisView*
);
+ void remove (
AxisView*
);
void clear_processors ();
void clear_routes ();
void clear_processors ();
void clear_routes ();
- bool selected (boost::shared_ptr<ARDOUR::Route>);
+ bool selected (AxisView*);
+
+ private:
+ void removed (AxisView*);
+ bool _no_route_change_signal;
+
};
};
-bool operator==(const Route
RedirectSelection& a, const RouteRedirect
Selection& b);
+bool operator==(const Route
ProcessorSelection& a, const RouteProcessor
Selection& b);
#endif /* __ardour_gtk_route_processor_selection_h__ */
#endif /* __ardour_gtk_route_processor_selection_h__ */