diff options
author | Carl Hetherington <carl@carlh.net> | 2010-08-25 17:31:57 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-08-25 17:31:57 +0000 |
commit | 21855b71d2eb8006fda96aefacfa60140ae747d3 (patch) | |
tree | a5a5148ef41be377a0670bf708845b7197baf5d4 /libs/pbd/pbd/property_list.h | |
parent | 803f3a6a307bea4bdd804041a0e0a846f48938ee (diff) |
Modify StatefulDiffCommand undo record to only contain the changes in one direction, as the other direction can be inferred. Breaks session history file compatibility.
git-svn-id: svn://localhost/ardour2/branches/3.0@7684 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/pbd/property_list.h')
-rw-r--r-- | libs/pbd/pbd/property_list.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/pbd/pbd/property_list.h b/libs/pbd/pbd/property_list.h index 04112bad80..12b7995009 100644 --- a/libs/pbd/pbd/property_list.h +++ b/libs/pbd/pbd/property_list.h @@ -32,11 +32,13 @@ namespace PBD { class PropertyList : public std::map<PropertyID, PropertyBase*> { public: - PropertyList(); + PropertyList (); + PropertyList (PropertyList const &); virtual ~PropertyList(); - void get_changes (XMLNode *); + void get_changes_as_xml (XMLNode *); + void invert (); /** Add a property (of some kind) to the list. Used when constructing PropertyLists that describe a change/operation. |