summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/route_group.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-01-10 23:37:34 +0000
committerCarl Hetherington <carl@carlh.net>2011-01-10 23:37:34 +0000
commit648035dba9d6e0b9f98aefadf016cf7d1faa49ee (patch)
tree0e9a1175628a2a950561c18a8d0b77bbf0a359d2 /libs/ardour/ardour/route_group.h
parentc482638aa6e0dbc0d4acdc93fe9712e1802fde32 (diff)
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
Diffstat (limited to 'libs/ardour/ardour/route_group.h')
-rw-r--r--libs/ardour/ardour/route_group.h4
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);