Move Diskstream ownership to Track, so that Session no longer holds lists of Diskstre...
[ardour.git] / gtk2_ardour / midi_streamview.h
index ae2b907d1eaf158891a9ea30b106cf5d6e64482c..1ab832986a3cd90c24216528915fd4edde88a9a2 100644 (file)
@@ -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();