6337a1894c
Coding for undo/redo starts in earnest. Paul and I decided to go with a standard gang of four Command pattern, with serialization. This overcomes the terrible difficulties we were having with static type checking and the sigc++ approach. I'm adding the requirement that each command support undo, simplifying undo/redo. NOTE that an important fallout here is that Command::operator()() is the opposite of the old UndoAction::operator()(), i.e. Command::operator()() is execute/redo, and Command::undo() is undo. This commit is a reworking of the infrastructure, and won't compile until creating Command subclasses for the various commands being performed. That is primarily where you find get_memento and/or calls to add_(undo|redo.*). git-svn-id: svn://localhost/ardour2/branches/undo@655 d708f5d6-7413-0410-9779-e7cbd77b26cf |
||
---|---|---|
.. | ||
.cvsignore | ||
.DS_Store | ||
abstract_ui.cc | ||
abstract_ui.h | ||
base_ui.h | ||
basename.h | ||
command.h | ||
compose.h | ||
convert.h | ||
error.h | ||
failed_constructor.h | ||
fastlog.h | ||
forkexec.h | ||
mathfix.h | ||
mountpoint.h | ||
pathscanner.h | ||
pool.h | ||
pthread_utils.h | ||
receiver.h | ||
restartable_rw.h | ||
ringbuffer.h | ||
ringbufferNPT.h | ||
selectable.h | ||
serializable.h | ||
stacktrace.h | ||
stl_delete.h | ||
stl_functors.h | ||
strsplit.h | ||
textreceiver.h | ||
thrown_error.h | ||
touchable.h | ||
transmitter.h | ||
undo.h | ||
whitespace.h | ||
xml++.h |