30 #ifndef RIOENGINE_EDITOR_UNDOENGINE_UNDOABLEACTION_H_
31 #define RIOENGINE_EDITOR_UNDOENGINE_UNDOABLEACTION_H_
42 LOG(
"IUndoableAction::performAction() must be overridden");
46 LOG(
"IUndoableAction::getOppositeAction() must be overridden");
59 template<
class TargetType,
class ValueType>
91 #endif // RIOENGINE_EDITOR_UNDOENGINE_UNDOABLEACTION_H_
UndoableAction(TargetType target, ValueType &value)
ValueType getValue() const
virtual const char * getHint() const
virtual ~UndoableAction()
virtual IUndoableAction * getOppositeAction()
void setValue(ValueType &value)
virtual void performAction()
void setTarget(TargetType target)
TargetType getTarget() const