diff options
author | Carl Hetherington <carl@carlh.net> | 2010-04-21 20:42:22 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-04-21 20:42:22 +0000 |
commit | 061a85191c301ac18f2e8ca59d43127a4499ba96 (patch) | |
tree | 469688f4dea1853c91372319a899b2efc71b30d5 /gtk2_ardour/midi_streamview.h | |
parent | d9cebc2edf8accded23c6f2a1caab73eb47a50fd (diff) |
Move Diskstream ownership to Track, so that Session no longer holds lists of Diskstreams. Breaks 3.0 file format again.
git-svn-id: svn://localhost/ardour2/branches/3.0@6945 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_streamview.h')
-rw-r--r-- | gtk2_ardour/midi_streamview.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk2_ardour/midi_streamview.h b/gtk2_ardour/midi_streamview.h index ae2b907d1e..1ab832986a 100644 --- a/gtk2_ardour/midi_streamview.h +++ b/gtk2_ardour/midi_streamview.h @@ -35,7 +35,6 @@ namespace Gdk { namespace ARDOUR { class Route; - class Diskstream; class Crossfade; class PeakData; class MidiRegion; @@ -76,7 +75,7 @@ class MidiStreamView : public StreamView void update_note_range(uint8_t note_num); - void redisplay_diskstream (); + void redisplay_track (); inline double contents_height() const { return (_trackview.current_height() - TimeAxisViewItem::NAME_HIGHLIGHT_SIZE - 2); } @@ -119,7 +118,7 @@ class MidiStreamView : public StreamView bool recording = false); void display_region(MidiRegionView* region_view, bool load_model); - void display_diskstream (boost::shared_ptr<ARDOUR::Diskstream> ds); + void display_track (boost::shared_ptr<ARDOUR::Track> tr); void update_contents_height (); void draw_note_lines(); |