add an plugin API to query generic-gui grid-layout
[ardour.git] / libs / ardour / ardour / midi_model.h
index b2e018ca3b4ac7f1ca67ff64208e534a8ea49011..254d6100770a25ee05e2087f1cf668e524543a49 100644 (file)
@@ -175,8 +175,9 @@ public:
 
        private:
                struct Change {
+                       Change () : sysex_id (0) {}
                        boost::shared_ptr<Evoral::Event<TimeType> > sysex;
-                       gint sysex_id;
+                       gint sysex_id;
                        SysExDiffCommand::Property property;
                        TimeType old_time;
                        TimeType new_time;
@@ -287,7 +288,7 @@ public:
        boost::shared_ptr<Evoral::Control> control_factory(const Evoral::Parameter& id);
 
        void insert_silence_at_start (TimeType);
-       void transpose (TimeType, TimeType, int);
+       void transpose (NoteDiffCommand *, const NotePtr, int);
 
        std::set<WeakNotePtr>& active_notes() { return _active_notes; }