midway snapshot of work done on managing Region & Source lifetimes correctly. may...
[ardour.git] / libs / pbd / pbd / stateful.h
index 93f353a095bbb710918784bfdf04c28d2201991f..1272a735f93d7487650ecf46795ff71a78dcc555 100644 (file)
@@ -48,10 +48,7 @@ class Stateful {
 
        virtual XMLNode& get_state (void) = 0;
        virtual int set_state (const XMLNode&, int version) = 0;
-       /* derived types do not have to implement this, but probably should
-          give it serious attention.
-       */
-       virtual bool set_property (const PropertyBase&) { return false; }
+       virtual bool set_property (const PropertyBase&);
 
        PropertyChange set_properties (const PropertyList&);
         const OwnedPropertyList& properties() const { return *_properties; }
@@ -70,7 +67,9 @@ class Stateful {
         /* history management */
 
        void clear_history ();
-        void diff (PropertyList&, PropertyList&) const;
+        void diff (PropertyList&, PropertyList&, Command*) const;
+        bool changed() const;
+
         /* create a property list from an XMLNode
          */
         virtual PropertyList* property_factory(const XMLNode&) const { return 0; }