Mercurial > projects > doodle
changeset 53:fbabd1957c89
Merge
author | daveb |
---|---|
date | Fri, 06 Aug 2010 09:38:36 +0930 |
parents | 4dadc3c03b7e (current diff) 576b9fba4677 (diff) |
children | 30ecedfe2ce2 |
files | |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/doodle/core/undo.d Fri Aug 06 09:37:59 2010 +0930 +++ b/doodle/core/undo.d Fri Aug 06 09:38:36 2010 +0930 @@ -34,6 +34,11 @@ d_time _timeStamp; } + this(in string description) { + _description = description; + _timeStamp = getUTCtime; + } + this(in string description, d_time timeStamp) { assert(description); _description = description; @@ -57,7 +62,7 @@ void undo(); void redo(); - protected bool mergeImpl(Edit other) { return false; } + protected bool mergeImpl(Edit subsequent) { return false; } } interface IUndoManagerObserver { @@ -66,6 +71,7 @@ in bool canRedo, in string redoDescription); } +// XXX This interface doesn't appear to add any value interface IUndoManager { void addEdit(Edit edit); void undo();