Selection of visible note range (full range vs fit contents, selectable from midi...
[ardour.git] / libs / ardour / ardour / midi_region.h
index 2b783a92a8cd77438ee041c5fb34fc411b230961..83487e456a6065bae0fa661cb040a8238125a669 100644 (file)
@@ -78,9 +78,6 @@ class MidiRegion : public Region
        MidiRegion (boost::shared_ptr<MidiSource>, const XMLNode&);
        MidiRegion (SourceList &, const XMLNode&);
 
-  private:
-       friend class Playlist;
-
   private:
        nframes_t _read_at (const SourceList&, MidiRingBuffer& dst,
                            nframes_t position,
@@ -89,6 +86,10 @@ class MidiRegion : public Region
 
        void recompute_at_start ();
        void recompute_at_end ();
+
+  protected:
+
+       int set_live_state (const XMLNode&, Change&, bool send);
 };
 
 } /* namespace ARDOUR */