1 #ifndef __FBUNDOMANAGER_H__
2 #define __FBUNDOMANAGER_H__
43 #include <kaydaradef.h>
48 #define FBSDK_DLL K_DLLIMPORT
55 #ifdef FBSDKUseNamespace
56 namespace FBSDKNamespace {
112 void Undo(
bool pNoRedo =
false );
200 #ifdef FBSDKUseNamespace
MotionBuilder SDK base class.
PropertyEvent: Base event class.
Property: Base property class.
Base Class for Custom Undoable Actions.
virtual void Redo()
Callback function for redo custom action.
virtual const char * GetName()
Get Custom action name.
virtual ~FBUndo()
Destructor.
virtual void Undo()
Callback function for undo custom action.
Access to global undo and redo functionality.
FBPropertyEvent OnUndo
Event: An undo operation will be executed.
bool TransactionAddModelTRS(FBModel *pModel)
Add Transaction if transaction stack is open.
FBPropertyEvent OnRedoCompleted
Event: A redo operation has been executed.
bool TransactionAddObjectDestroy(FBObject *pObject)
Add Transaction if transaction stack is open.
void Undo(bool pNoRedo=false)
Undo last action.
bool ActiveOperation()
Determine if an undo operation is in action.
bool TransactionAdd(FBUndo *pUndo, FBArrayPlug *pDepdendPlugArray=NULL)
Add Transaction if transaction stack is open.
bool TransactionBegin(const char *pTransactionName)
Open transaction stack for adding transactions.
FBPropertyEvent OnUndoCompleted
Event: An undo operation has been executed.
bool TransactionAddProperty(FBProperty *pProperty)
Add Transaction if transaction stack is open.
FBPropertyEvent OnRedo
Event: A redo operation will be executed.
bool TransactionEnd()
Close transaction stack.
FBUndoManager(HIObject pObject=NULL)
Constructor.
bool Clear()
Clear the undo and redo stacks.
bool TransactionIsOpen()
Query if transaction stack is already open.
void Redo()
Redo last undone action.
A template class for arrays.
#define FB_DEFINE_ARRAY(DllTag, Type)
Define an array (template) for a component (discard the FB..).
#define __FBClassDeclare(Name, Parent)
For internal use only.
Definition of the class FBPlug and related enums and utility functions.
#define FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...