Used by the UndoManager class to store an action which can be done and undone.
virtual bool undo()=0
Overridden by a subclass to undo the action.
UndoableAction()=default
Creates an action.
virtual ~UndoableAction()=default
Destructor.
virtual UndoableAction * createCoalescedAction(UndoableAction *nextAction)
Allows multiple actions to be coalesced into a single action object, to reduce storage space.
virtual bool perform()=0
Overridden by a subclass to perform the action.
virtual int getSizeInUnits()
Returns a value to indicate how much memory this object takes up.
#define JUCE_API
This macro is added to all JUCE public class declarations.