From 648035dba9d6e0b9f98aefadf016cf7d1faa49ee Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 10 Jan 2011 23:37:34 +0000 Subject: Add route group property to share route active state (#3703) git-svn-id: svn://localhost/ardour2/branches/3.0@8497 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/route_group.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libs/ardour/ardour/route_group.h') 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 recenable; extern PBD::PropertyDescriptor select; extern PBD::PropertyDescriptor edit; + extern PBD::PropertyDescriptor route_active; /* we use this, but its declared in region.cc */ extern PBD::PropertyDescriptor 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 _recenable; PBD::Property _select; PBD::Property _edit; + PBD::Property _route_active; void remove_when_going_away (boost::weak_ptr); int set_state_2X (const XMLNode&, int); -- cgit v1.2.3