update ALSA backend, MIDI device config
[ardour.git] / gtk2_ardour / automation_streamview.h
index 01d34357149d01718b37311bb2b1065732d93904..d058f0243451638314559facf7450c2d81a88c67 100644 (file)
@@ -24,7 +24,6 @@
 
 #include "ardour/location.h"
 #include "enums.h"
-#include "simplerect.h"
 #include "streamview.h"
 #include "time_axis_view_item.h"
 #include "route_time_axis.h"
@@ -57,6 +56,15 @@ class AutomationStreamView : public StreamView
        bool has_automation () const;
 
        void set_interpolation (ARDOUR::AutomationList::InterpolationStyle);
+       ARDOUR::AutomationList::InterpolationStyle interpolation () const;
+
+       void clear ();
+
+       void get_selectables (ARDOUR::framepos_t, ARDOUR::framepos_t, double, double, std::list<Selectable*> &);
+       void set_selected_points (PointSelection &);
+
+       std::list<boost::shared_ptr<AutomationLine> > get_lines () const;
+       boost::shared_ptr<AutomationLine> paste_line (ARDOUR::framepos_t);
 
   private:
        void setup_rec_box ();
@@ -66,8 +74,6 @@ class AutomationStreamView : public StreamView
 
        void color_handler ();
 
-       boost::shared_ptr<AutomationController> _controller;
-
        AutomationTimeAxisView& _automation_view;
        /** automation state that should be applied when this view gets its first RegionView */
        ARDOUR::AutoState _pending_automation_state;