diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-04-08 16:49:47 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-31 15:30:40 -0400 |
commit | 653ae4acd639fef149314fe6f8c7a0d862afae40 (patch) | |
tree | ba32ff0efd9b105c207ad7e3b2e89d73e76b4355 /libs/ardour/ardour/route_group.h | |
parent | c107f1ab56270f4485ca2a787d575c2b5b53cfcf (diff) |
universal change in the design of the way Route/Track controls are designed and used. The controls now own their own state, rather than proxy for state in their owners.
Massive changes all over the code to accomodate this. Many things are not finished. Consider this a backup safety commit
Diffstat (limited to 'libs/ardour/ardour/route_group.h')
-rw-r--r-- | libs/ardour/ardour/route_group.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/libs/ardour/ardour/route_group.h b/libs/ardour/ardour/route_group.h index 95affaeaf5..feeac6a467 100644 --- a/libs/ardour/ardour/route_group.h +++ b/libs/ardour/ardour/route_group.h @@ -29,10 +29,12 @@ #include "pbd/signals.h" #include "pbd/stateful.h" -#include "ardour/libardour_visibility.h" +#include "ardour/control_group.h" #include "ardour/types.h" #include "ardour/session_object.h" +#include "ardour/libardour_visibility.h" + namespace ARDOUR { namespace Properties { @@ -157,8 +159,17 @@ class LIBARDOUR_API RouteGroup : public SessionObject PBD::Property<bool> _color; PBD::Property<bool> _monitoring; + boost::shared_ptr<ControlGroup> _solo_group; + boost::shared_ptr<ControlGroup> _mute_group; + boost::shared_ptr<ControlGroup> _rec_enable_group; + boost::shared_ptr<ControlGroup> _gain_group; + boost::shared_ptr<ControlGroup> _monitoring_group; + void remove_when_going_away (boost::weak_ptr<Route>); int set_state_2X (const XMLNode&, int); + + void post_set (PBD::PropertyChange const &); + void push_to_groups (); }; } /* namespace */ |