summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/session.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-11-29 12:47:59 +0000
committerCarl Hetherington <carl@carlh.net>2009-11-29 12:47:59 +0000
commit515d19c74519599c53d6fc85c1af2647f390d95f (patch)
tree1f1dbbe3beccbe37872bf1ec565bc7aa7c6a240c /libs/ardour/ardour/session.h
parentb88e7fdcca8ef8fa4c22f93c2934b30713ab4716 (diff)
Implement 2532: option to show tracks with regions under the playhead.
git-svn-id: svn://localhost/ardour2/branches/3.0@6207 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/session.h')
-rw-r--r--libs/ardour/ardour/session.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h
index 48a7ce7a39..bfbbabe877 100644
--- a/libs/ardour/ardour/session.h
+++ b/libs/ardour/ardour/session.h
@@ -322,6 +322,8 @@ class Session : public PBD::StatefulDestructible, public boost::noncopyable
boost::shared_ptr<RouteList> get_routes_with_internal_returns() const;
+ boost::shared_ptr<RouteList> get_routes_with_regions_at (nframes64_t const) const;
+
uint32_t nroutes() const { return routes.reader()->size(); }
uint32_t ntracks () const;
uint32_t nbusses () const;