X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gtk2_ardour%2Fmidi_automation_line.h;h=e0da2a00d7d06ba24155da924499669d426be9b3;hb=38e94875647782fa6c28e25be471f0cff6c97d2a;hp=aafe96602850cd8f4df03e1a70883d4e2a0f2cab;hpb=aaea166135ace01709f7e0be64f40be80f4107ec;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;