From 5e3ca4db5cc356385e520643cfd279f393db4b51 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 5 Aug 2010 13:36:38 +0000 Subject: Support cut / copy / paste of MIDI automation. git-svn-id: svn://localhost/ardour2/branches/3.0@7545 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/automation_line.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour/automation_line.h') diff --git a/gtk2_ardour/automation_line.h b/gtk2_ardour/automation_line.h index 0222328634..1464170c34 100644 --- a/gtk2_ardour/automation_line.h +++ b/gtk2_ardour/automation_line.h @@ -68,7 +68,7 @@ class AutomationLine : public sigc::trackable, public PBD::StatefulDestructible std::list point_selection_to_control_points (PointSelection const &); void set_selected_points (PointSelection&); - void get_selectables (nframes_t start, nframes_t end, + void get_selectables (ARDOUR::framepos_t start, ARDOUR::framepos_t end, double botfrac, double topfrac, std::list& results); void get_inverted_selectables (Selection&, std::list& results); @@ -136,6 +136,10 @@ class AutomationLine : public sigc::trackable, public PBD::StatefulDestructible virtual MementoCommandBinder* memento_command_binder (); + const Evoral::TimeConverter& time_converter () const { + return _time_converter; + } + protected: std::string _name; -- cgit v1.2.3