Add new SharedStatefulProperty which manages a shared_ptr to
authorCarl Hetherington <carl@carlh.net>
Sat, 16 Jun 2012 17:20:10 +0000 (17:20 +0000)
committerCarl Hetherington <carl@carlh.net>
Sat, 16 Jun 2012 17:20:10 +0000 (17:20 +0000)
commit5ac22e9095d5f851b5238029e3f813bc86fe2280
tree51460c63aa9ace692dedceb01494f2a92d4bc364
parent9429401f11ffa0ee1729dbdc5e14e87cf06e2dc1
Add new SharedStatefulProperty which manages a shared_ptr to
some Stateful object, and a subclass to use this for
AutomationList.  SharedStatefulProperty will manage undo / redo
using full copies of the XML state, like MementoCommand,
but does it within the Property undo system.

git-svn-id: svn://localhost/ardour2/branches/3.0@12740 d708f5d6-7413-0410-9779-e7cbd77b26cf
18 files changed:
libs/ardour/ardour/audioregion.h
libs/ardour/ardour/automation_list.h
libs/ardour/audioregion.cc
libs/ardour/automation_list.cc
libs/ardour/globals.cc
libs/ardour/test/automation_list_property_test.cc [new file with mode: 0644]
libs/ardour/test/automation_list_property_test.h [new file with mode: 0644]
libs/ardour/test/data/automation_list_property_test1.ref [new file with mode: 0644]
libs/ardour/test/data/automation_list_property_test2.ref [new file with mode: 0644]
libs/ardour/test/data/automation_list_property_test3.ref [new file with mode: 0644]
libs/ardour/test/data/automation_list_property_test4.ref [new file with mode: 0644]
libs/ardour/test/test_util.cc [new file with mode: 0644]
libs/ardour/test/test_util.h [new file with mode: 0644]
libs/ardour/wscript
libs/evoral/evoral/ControlList.hpp
libs/evoral/src/ControlList.cpp
libs/pbd/pbd/properties.h
libs/pbd/xml++.cc