missing template dir patch from tim, fix extend selection to track when track is...
[ardour.git] / gtk2_ardour / gain_automation_time_axis.h
index 7d2b1fe0ea412c288b367c497ae227604e2ec748..ea9388ccd3366c661328f7f16926a28cc89f6bdd 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef __ardour_gtk_gain_automation_time_axis_h__
 #define __ardour_gtk_gain_automation_time_axis_h__
 
+#include "canvas.h"
 #include "automation_time_axis.h"
 
 namespace ARDOUR {
@@ -12,16 +13,16 @@ class GainAutomationTimeAxisView : public AutomationTimeAxisView
 {
   public:
        GainAutomationTimeAxisView (ARDOUR::Session&,
-                                   ARDOUR::Route&,
+                                   boost::shared_ptr<ARDOUR::Route>,
                                    PublicEditor&,
                                    TimeAxisView& parent_axis,
-                                   Gtk::Widget* parent,
-                                   std::string name,
+                                   ArdourCanvas::Canvas& canvas,
+                                   const string & name,
                                    ARDOUR::Curve&);
        
        ~GainAutomationTimeAxisView();
 
-       void add_automation_event (Gnome::Canvas::Item *item, GdkEvent *event, jack_nframes_t, double);
+       void add_automation_event (ArdourCanvas::Item *item, GdkEvent *event, nframes_t, double);
        
    private:
        ARDOUR::Curve& curve;