#include <blobby.h>
Inheritance diagram for UndoAction3:
Public Member Functions | |
UndoAction3 () | |
UndoAction3 constructor. | |
virtual ActionCode | Execute () |
To execute UndoAction3. Does nothing except spawn a RedoAction3 action. | |
Static Public Member Functions | |
static ActionCode | Init (Operation *const pOp, ActionList *pActionList, UINT32 ActionSize, Action **NewAction) |
To check that there is sufficient room for the action in the operation history, and if there is, then to add the action to the operations action list. | |
Private Attributes | |
DocColour | Color |
Friends | |
class | UndoColAction |
Definition at line 304 of file blobby.h.
|
UndoAction3 constructor.
Definition at line 891 of file blobby.cpp. 00891 :Action() 00892 { 00893 }
|
|
To execute UndoAction3. Does nothing except spawn a RedoAction3 action.
Reimplemented from Action. Definition at line 967 of file blobby.cpp. 00968 { 00969 RedoAction3* RedoAct; 00970 ActionCode ActCode; 00971 ActCode = RedoAction3::Init(pOperation, 00972 pOperation->GetRedoActionList(), 00973 10, 00974 ((Action**)&RedoAct)); // 10 is bodge 00975 00976 if (ActCode != AC_FAIL) 00977 { 00978 //if (IsUserName("Simon")) 00979 // TRACE( _T("Executing Undo Action 3\n")); 00980 } 00981 return (ActCode); 00982 }
|
|
To check that there is sufficient room for the action in the operation history, and if there is, then to add the action to the operations action list.
Size: The size of the action in bytes. This should be the total size of the action (including any objects pointed to by the action).
AC_OK : The action was successfully initialised and added to the operation. The function simply calls the Action::Init function passing the runtime class of an UndoAction3.
Definition at line 939 of file blobby.cpp. 00943 { 00944 return(Action::Init(pOp, 00945 pActionList, 00946 ActionSize, 00947 CC_RUNTIME_CLASS(UndoAction3), 00948 NewAction)); 00949 }
|
|
|
|
|