C Programming
By Al Stevens, November 01, 1998
Al updates a C++ class template library that implements undo operations of interactive programs. The library assumes that the user modifies a document class object and might want to undo those modifications in reverse order.
Nov98: C Programming
Undo/Redo Redux
By Al Stevens
Dr. Dobb's Journal November 1998
void Insert(T* pInsertAt, const T& rEvent);
void Delete(T* pDeleteAt);
void SetUndoContext(C nContext);
C GetUndoContext() const;
Example 1: Adding an undo.
Copyright © 1998, Dr. Dobb's Journal