add "shift" method used in 2.X and now a3 to move data starting at a position, not...
[ardour.git] / libs / evoral / evoral / ControlList.hpp
index f5aef8127da78172d8aae43aac2fa20dbb680947..16d0400145b239d8fa87caa3615baafc6ddfefd1 100644 (file)
@@ -113,6 +113,7 @@ public:
        void x_scale (double factor);
        bool extend_to (double);
        void slide (iterator before, double distance);
+        void shift (double before, double distance);
 
        void rt_add (double when, double value);
        void add (double when, double value);
@@ -213,6 +214,7 @@ public:
 
        bool rt_safe_earliest_event (double start, double& x, double& y, bool start_inclusive=false) const;
        bool rt_safe_earliest_event_unlocked (double start, double& x, double& y, bool start_inclusive=false) const;
+       bool rt_safe_earliest_event_linear_unlocked (double start, double& x, double& y, bool inclusive) const;
        bool rt_safe_earliest_event_discrete_unlocked (double start, double& x, double& y, bool inclusive) const;
 
        void create_curve();
@@ -249,8 +251,6 @@ protected:
 
        void build_search_cache_if_necessary (double start) const;
 
-       bool rt_safe_earliest_event_linear_unlocked (double start, double& x, double& y, bool inclusive) const;
-
        boost::shared_ptr<ControlList> cut_copy_clear (double, double, int op);
        bool erase_range_internal (double start, double end, EventList &);