Ignore:
Timestamp:
Mar 24, 2010, 4:26:21 PM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
521e29
Parents:
91379c
Message:

Added methods that allow bookkeeping of actions for undo/redo methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/Actions/MakroAction.hpp

    r91379c r0012e6  
    2626  virtual ~MakroAction();
    2727
    28   virtual void call();
    29   virtual void undo();
    30   virtual bool canUndo();
     28  bool canUndo();
     29  bool shouldUndo();
    3130
    3231private:
     32  virtual ActionState* performCall();
     33  virtual ActionState* performUndo(ActionState*);
     34  virtual ActionState* performRedo(ActionState*);
     35
    3336  ActionSequence *actions;
    3437};
Note: See TracChangeset for help on using the changeset viewer.