midway snapshot of work done on managing Region & Source lifetimes correctly. may...
[ardour.git] / libs / pbd / pbd / stateful.h
index 5585b5c13b41196c6035042b4bec140a2024ef4a..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,7 @@ 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