X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fmidi_automation_line.h;h=e0da2a00d7d06ba24155da924499669d426be9b3;hb=419006dd834827f22be9a73753c2355214b3cdc9;hp=aafe96602850cd8f4df03e1a70883d4e2a0f2cab;hpb=31d234b48c36bddb4d5228a3abee9c4419403879;p=ardour.git diff --git a/gtk2_ardour/midi_automation_line.h b/gtk2_ardour/midi_automation_line.h index aafe966028..e0da2a00d7 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;