diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-10-21 15:47:50 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-10-21 15:47:50 +0000 |
commit | bfe90109590a732589902acd392e548441134319 (patch) | |
tree | 7ad867a8ea9dfff2c0c0cbc638f701b7661f7955 /libs/ardour/ardour/route_group.h | |
parent | ecbd2ebb7446f9f3069145ea8b233e30a9218060 (diff) |
add route group support for monitoring choices
git-svn-id: svn://localhost/ardour2/branches/3.0@10268 d708f5d6-7413-0410-9779-e7cbd77b26cf
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 22e527ff9e..890bf8af40 100644 --- a/libs/ardour/ardour/route_group.h +++ b/libs/ardour/ardour/route_group.h @@ -45,6 +45,7 @@ namespace Properties { extern PBD::PropertyDescriptor<bool> edit; extern PBD::PropertyDescriptor<bool> route_active; extern PBD::PropertyDescriptor<bool> color; + extern PBD::PropertyDescriptor<bool> monitoring; /* we use this, but its declared in region.cc */ extern PBD::PropertyDescriptor<bool> hidden; }; @@ -73,6 +74,7 @@ class RouteGroup : public SessionObject bool is_edit () const { return _edit.val(); } bool is_route_active () const { return _route_active.val(); } bool is_color () const { return _color.val(); } + bool is_monitoring() const { return _monitoring.val(); } bool empty() const {return routes->empty();} size_t size() const { return routes->size();} @@ -92,6 +94,7 @@ class RouteGroup : public SessionObject void set_edit (bool yn); void set_route_active (bool yn); void set_color (bool yn); + void set_monitoring (bool yn); bool enabled_property (PBD::PropertyID); @@ -147,6 +150,7 @@ private: PBD::Property<bool> _edit; PBD::Property<bool> _route_active; PBD::Property<bool> _color; + PBD::Property<bool> _monitoring; void remove_when_going_away (boost::weak_ptr<Route>); int set_state_2X (const XMLNode&, int); |