This suspends all update messages from WSM until either the object is destroyed, or resume is called.
The top level history ID provided is included in the kLoadComplete message sent upon resume. This tells the receiver of the message into which history the load was done.
#include <FormItUndoManager.h>
Public Member Functions | |
Suspend (bool bSuppress, size_t nTopLevelHistory, bool bFullUpdate) | |
The bSuppress parameter can be set to false to indicate that the object should not take effect. | |
~Suspend () | |
void | resume () |
|
explicit |
The bSuppress parameter can be set to false to indicate that the object should not take effect.
This is used to allow run-time determination while still using a stack object.
nTopLevelHistory | = WSM::INVALID_ID |
bFullUpdate | = true |
FormIt::UndoManagement::Suspend::~Suspend | ( | ) |
void FormIt::UndoManagement::Suspend::resume | ( | ) |