X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fmidi_automation_line.h;h=dd5b229dd2740356a7f3b3c275cc0ffe082eaece;hb=9971e718fed4a1126d97bad69f2608638d5a5464;hp=aafe96602850cd8f4df03e1a70883d4e2a0f2cab;hpb=54bf06e63cee78dfa218f604d862e577d0f5754c;p=ardour.git diff --git a/gtk2_ardour/midi_automation_line.h b/gtk2_ardour/midi_automation_line.h index aafe966028..dd5b229dd2 100644 --- a/gtk2_ardour/midi_automation_line.h +++ b/gtk2_ardour/midi_automation_line.h @@ -17,23 +17,28 @@ */ -#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, - boost::shared_ptr, - Evoral::Parameter, - Evoral::TimeConverter* converter = 0); + MidiAutomationLine (const std::string&, TimeAxisView&, ArdourCanvas::Item&, + boost::shared_ptr, + boost::shared_ptr, + Evoral::Parameter, + Evoral::TimeConverter* converter = 0); MementoCommandBinder* memento_command_binder (); + virtual std::string get_verbose_cursor_string (double) const; + private: boost::shared_ptr _region; Evoral::Parameter _parameter;