Part 1 of loading 2.X sessions; some things work, some things don't, hacks a-plenty.
[ardour.git] / libs / ardour / ardour / midi_region.h
index 50fc1516df1d3dc6503ff87458de8068b9f9d5cb..ddb3109ff66af45acca915c4701e3b2a647aabea 100644 (file)
@@ -68,7 +68,7 @@ class MidiRegion : public Region
                        NoteMode  mode = Sustained) const;
 
        XMLNode& state (bool);
-       int      set_state (const XMLNode&);
+       int      set_state (const XMLNode&, int version = 3000);
 
        int separate_by_channel (ARDOUR::Session&, std::vector< boost::shared_ptr<Region> >&) const;