along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id$
*/
#include "public_editor.h"
using namespace std;
using namespace ARDOUR;
-
-RedirectAutomationLine::RedirectAutomationLine (string name, Redirect& rd, uint32_t port, Session& s,
- TimeAxisView& tv, GnomeCanvasItem* parent,
- AutomationList& l,
- gint (*point_callback)(GnomeCanvasItem*, GdkEvent*, gpointer),
- gint (*line_callback)(GnomeCanvasItem*, GdkEvent*, gpointer))
-
- : AutomationLine (name, tv, parent, l, point_callback, line_callback),
+using namespace PBD;
+
+RedirectAutomationLine::RedirectAutomationLine (const string & name, Redirect& rd, uint32_t port, Session& s,
+
+ TimeAxisView& tv, ArdourCanvas::Group& parent,
+
+ AutomationList& l)
+
+ : AutomationLine (name, tv, parent, l),
session (s),
_redirect (rd),
_port (port)
{
- set_verbose_cursor_uses_gain_mapping (false);
+ set_verbose_cursor_uses_gain_mapping (false);
PluginInsert *pi;
Plugin::ParameterDescriptor desc;
/*NOTREACHED*/
}
- pi->plugin().get_parameter_descriptor (_port, desc);
+ pi->plugin()->get_parameter_descriptor (_port, desc);
upper = desc.upper;
lower = desc.lower;