diff options
Diffstat (limited to 'libs/ardour/ardour/route_group.h')
-rw-r--r-- | libs/ardour/ardour/route_group.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/ardour/route_group.h b/libs/ardour/ardour/route_group.h index 215f9f6bd7..44e191ab3f 100644 --- a/libs/ardour/ardour/route_group.h +++ b/libs/ardour/ardour/route_group.h @@ -43,6 +43,7 @@ namespace Properties { extern PBD::PropertyDescriptor<bool> recenable; extern PBD::PropertyDescriptor<bool> select; extern PBD::PropertyDescriptor<bool> edit; + extern PBD::PropertyDescriptor<bool> route_active; /* we use this, but its declared in region.cc */ extern PBD::PropertyDescriptor<bool> hidden; }; @@ -69,6 +70,7 @@ class RouteGroup : public SessionObject bool is_recenable () const { return _recenable.val(); } bool is_select () const { return _select.val(); } bool is_edit () const { return _edit.val(); } + bool is_route_active () const { return _route_active.val(); } bool empty() const {return routes->empty();} size_t size() const { return routes->size();} @@ -86,6 +88,7 @@ class RouteGroup : public SessionObject void set_recenable (bool yn); void set_select (bool yn); void set_edit (bool yn); + void set_route_active (bool yn); bool enabled_property (PBD::PropertyID); @@ -137,6 +140,7 @@ private: PBD::Property<bool> _recenable; PBD::Property<bool> _select; PBD::Property<bool> _edit; + PBD::Property<bool> _route_active; void remove_when_going_away (boost::weak_ptr<Route>); int set_state_2X (const XMLNode&, int); |