missing template dir patch from tim, fix extend selection to track when track is...
[ardour.git] / gtk2_ardour / gain_automation_time_axis.h
index f82822a04be5c7ad0b2e56f6293a8e11b7833b71..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 (GnomeCanvasItem *item, GdkEvent *event, jack_nframes_t, double);
+       void add_automation_event (ArdourCanvas::Item *item, GdkEvent *event, nframes_t, double);
        
    private:
        ARDOUR::Curve& curve;