diff options
author | Carl Hetherington <carl@carlh.net> | 2010-08-25 17:31:41 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-08-25 17:31:41 +0000 |
commit | fde848282d43db6f7b337a959b5268236d377404 (patch) | |
tree | 0ee65ec91cccb654c99d40dc64fd3f8ce829d278 /libs/pbd/pbd/stateful.h | |
parent | 7b2975244165b4ffd1dcf4080c1be4c8dcbc6708 (diff) |
Move various code up the Property / Stateful hierarchies.
git-svn-id: svn://localhost/ardour2/branches/3.0@7682 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/pbd/stateful.h')
-rw-r--r-- | libs/pbd/pbd/stateful.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/pbd/pbd/stateful.h b/libs/pbd/pbd/stateful.h index 619de5d06f..af26caab07 100644 --- a/libs/pbd/pbd/stateful.h +++ b/libs/pbd/pbd/stateful.h @@ -68,12 +68,14 @@ class Stateful { /* history management */ void clear_history (); + virtual void clear_owned_history (); void diff (PropertyList&, PropertyList&, Command*) const; + virtual void rdiff (std::vector<StatefulDiffCommand*> &) const; bool changed() const; /* create a property list from an XMLNode */ - virtual PropertyList* property_factory(const XMLNode&) const { return 0; } + virtual PropertyList* property_factory (const XMLNode&) const; /* How stateful's notify of changes to their properties */ |