-void
-ARDOUR::debug_print (const char* prefix, std::string str)
-{
- cerr << prefix << ": " << str;
+void ARDOUR::setup_enum_writer ();
+
+/* this is useful for quite a few things that want to check
+ if any bounds-related property has changed
+*/
+PBD::PropertyChange ARDOUR::bounds_change;
+
+namespace ARDOUR {
+ namespace Properties {
+
+ /* the envelope and fades are not scalar items and so
+ currently (2010/02) are not stored using Property.
+ However, these descriptors enable us to notify
+ about changes to them via PropertyChange.
+
+ Declared in ardour/audioregion.h ...
+ */
+
+ PBD::PropertyDescriptor<bool> fade_in;
+ PBD::PropertyDescriptor<bool> fade_out;
+ PBD::PropertyDescriptor<bool> envelope;
+ }