Save Lua UI scripts separately
[ardour.git] / gtk2_ardour / midi_automation_line.h
index 3748c35bd465a3f4496e06021230b44cf36e3e00..dd5b229dd2740356a7f3b3c275cc0ffe082eaece 100644 (file)
 
 */
 
-#include "ardour/midi_region.h"
 #include "automation_line.h"
 
+namespace ARDOUR {
+       class MidiRegion;
+}
+
 /** Stub class so that lines for MIDI AutomationRegionViews can use the correct
  *  MementoCommandBinder.
  */
@@ -30,7 +33,7 @@ public:
                            boost::shared_ptr<ARDOUR::AutomationList>,
                            boost::shared_ptr<ARDOUR::MidiRegion>,
                            Evoral::Parameter,
-                           Evoral::TimeConverter<double, ARDOUR::framepos_t>* converter = 0);
+                           Evoral::TimeConverter<double, ARDOUR::samplepos_t>* converter = 0);
 
        MementoCommandBinder<ARDOUR::AutomationList>* memento_command_binder ();