display results of a bounce in the region list
[ardour.git] / libs / ardour / curve.cc
index a515c3a39a8e341efe04950e0edc5ca4df29bb1e..20f7053f2e9466e4ef43f82b5f561e02cd4ed38a 100644 (file)
 using namespace std;
 using namespace ARDOUR;
 using namespace sigc;
+using namespace PBD;
+
+sigc::signal<void, Curve*> Curve::CurveCreated;
 
 Curve::Curve (double minv, double maxv, double canv, bool nostate)
        : AutomationList (canv, nostate)
 {
        min_yval = minv;
        max_yval = maxv;
+        CurveCreated(this);
 }
 
 Curve::Curve (const Curve& other)
@@ -51,6 +55,7 @@ Curve::Curve (const Curve& other)
 {
        min_yval = other.min_yval;
        max_yval = other.max_yval;
+        CurveCreated(this);
 }
 
 Curve::Curve (const Curve& other, double start, double end)
@@ -58,6 +63,7 @@ Curve::Curve (const Curve& other, double start, double end)
 {
        min_yval = other.min_yval;
        max_yval = other.max_yval;
+        CurveCreated(this);
 }
 
 Curve::~Curve ()