fix visual focus indication in IOSelector; import pays attention to audio file embedd...
[ardour.git] / libs / ardour / ardour / curve.h
index 1c6a4c5bc492f86a5a205c40499d88848ed1bfc4..df984b74e0a4bf598d540d67e1908fc0dc6d165c 100644 (file)
 
 #include <sys/types.h>
 #include <sigc++/signal.h>
-#include <pbd/lockmonitor.h>
+#include <glibmm/thread.h>
 #include <pbd/undo.h>
 #include <list>
 #include <algorithm>
-#include <pthread.h>
 #include <ardour/automation_event.h>
 
 namespace ARDOUR {
@@ -52,6 +51,7 @@ class Curve : public AutomationList
        ~Curve ();
        Curve (const Curve& other);
        Curve (const Curve& other, double start, double end);
+       Curve (const XMLNode&);
 
        bool rt_safe_get_vector (double x0, double x1, float *arg, int32_t veclen);
        void get_vector (double x0, double x1, float *arg, int32_t veclen);
@@ -60,13 +60,13 @@ class Curve : public AutomationList
        AutomationEventList::iterator closest_control_point_after (double xval);
 
        void solve ();
+
+        static sigc::signal<void, Curve*> CurveCreated;
                
   protected:
        ControlEvent* point_factory (double,double) const;
        ControlEvent* point_factory (const ControlEvent&) const;
 
-       Change   restore_state (StateManager::State&);
-
   private:
        AutomationList::iterator last_bound;
 
@@ -77,7 +77,7 @@ class Curve : public AutomationList
 
 };
 
-}; /* namespace ARDOUR */
+} // namespace ARDOUR
 
 extern "C" {
        void curve_get_vector_from_c (void *arg, double, double, float*, int32_t);