diff options
author | Carl Hetherington <carl@carlh.net> | 2009-12-13 19:09:52 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-12-13 19:09:52 +0000 |
commit | 034db5fb1cc4d71bfa0e1c005733115df68fdefd (patch) | |
tree | a32b62bac855f7b7d6e97988bfb69d6b9ec9754c /gtk2_ardour/public_editor.h | |
parent | 8687895abba4209a6de8d8a8fc1bda5996f0d875 (diff) |
Apply Select property of route groups at the Selection object level. Accordingly
simplify code related to selecting tracks. Add a TrackViewList object rather than
"abusing" TrackSelection in lots of places.
git-svn-id: svn://localhost/ardour2/branches/3.0@6358 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/public_editor.h')
-rw-r--r-- | gtk2_ardour/public_editor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/public_editor.h b/gtk2_ardour/public_editor.h index e520e30a89..8b4684f539 100644 --- a/gtk2_ardour/public_editor.h +++ b/gtk2_ardour/public_editor.h @@ -88,8 +88,6 @@ class PublicEditor : public Gtk::Window, public PBD::StatefulThingWithGoingAway PublicEditor (); virtual ~PublicEditor (); - typedef TrackSelection TrackViewList; - /** @return Singleton PublicEditor instance */ static PublicEditor& instance () { return *_instance; } @@ -244,7 +242,6 @@ class PublicEditor : public Gtk::Window, public PBD::StatefulThingWithGoingAway virtual double get_physical_screen_width() const = 0; virtual void ensure_float (Gtk::Window&) = 0; virtual void show_window () = 0; - virtual TrackViewList* get_valid_views (TimeAxisView*, ARDOUR::RouteGroup* grp = 0) = 0; virtual nframes64_t leftmost_position() const = 0; virtual nframes64_t current_page_frames() const = 0; virtual void temporal_zoom_step (bool coarser) = 0; @@ -353,6 +350,9 @@ class PublicEditor : public Gtk::Window, public PBD::StatefulThingWithGoingAway virtual void center_screen (nframes64_t) = 0; + virtual TrackViewList axis_views_from_routes (boost::shared_ptr<ARDOUR::RouteList>) const = 0; + virtual TrackViewList const & get_track_views () = 0; + /// Singleton instance, set up by Editor::Editor() static PublicEditor* _instance; |