#include <patchobj.h>
Public Member Functions |
|
PatchObjectRestore (PatchObject *po, POModRecord *rec) | |
virtual | ~PatchObjectRestore () |
void | Restore (int isUndo) |
void | Redo () |
int | Size () |
void | EndHold () |
MSTR | Description () |
Public Attributes |
|
POModRecord * | rec |
PatchObject * | po |
PatchObjectRestore | ( | PatchObject * | po, |
POModRecord * | rec | ||
) |
virtual ~PatchObjectRestore | ( | ) | [virtual] |
void Restore | ( | int | isUndo | ) | [virtual] |
isUndo | Nonzero if Restore() is being called in response to the Undo command; otherwise zero. If isUndo is nonzero, the developer needs to save whatever data they need to allow the user to redo the operation. |
Implements RestoreObj.
void Redo | ( | ) | [virtual] |
Implements RestoreObj.
int Size | ( | ) | [inline, virtual] |
Reimplemented from RestoreObj.
{ return 1; }
void EndHold | ( | ) | [inline, virtual] |
Reimplemented from RestoreObj.
{po->ClearAFlag(A_HELD);}
MSTR Description | ( | ) | [inline, virtual] |
Reimplemented from RestoreObj.
{ return MSTR(_M("PatchObject restore")); }