Only show user-presets in favorite sidebar
[ardour.git] / gtk2_ardour / midi_automation_line.h
index aafe96602850cd8f4df03e1a70883d4e2a0f2cab..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.
  */
 class MidiAutomationLine : public AutomationLine
 {
 public:
-       MidiAutomationLine (const std::string&, TimeAxisView&, ArdourCanvas::Group&,
-                           boost::shared_ptr<ARDOUR::AutomationList>,
-                           boost::shared_ptr<ARDOUR::MidiRegion>,
-                           Evoral::Parameter,
-                           Evoral::TimeConverter<double, ARDOUR::framepos_t>* converter = 0);
+       MidiAutomationLine (const std::string&, TimeAxisView&, ArdourCanvas::Item&,
+                           boost::shared_ptr<ARDOUR::AutomationList>,
+                           boost::shared_ptr<ARDOUR::MidiRegion>,
+                           Evoral::Parameter,
+                           Evoral::TimeConverter<double, ARDOUR::samplepos_t>* converter = 0);
 
        MementoCommandBinder<ARDOUR::AutomationList>* memento_command_binder ();
 
+       virtual std::string get_verbose_cursor_string (double) const;
+
 private:
        boost::shared_ptr<ARDOUR::MidiRegion> _region;
        Evoral::Parameter _parameter;