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/small_actions.hpp

    r91379c r0012e6  
    1414  virtual ~ChangeMoleculeNameAction();
    1515
    16   void call();
    17   void undo();
    1816  bool canUndo();
    1917  bool shouldUndo();
     
    2119  virtual const std::string getName();
    2220private:
     21  virtual ActionState* performCall();
     22  virtual ActionState* performUndo(ActionState*);
     23  virtual ActionState* performRedo(ActionState*);
     24
    2325  MoleculeListClass *molecules;
    2426  static char NAME[];
Note: See TracChangeset for help on using the changeset viewer.