Changeset 0012e6 for molecuilder/src/Actions/ActionSequence.hpp
- Timestamp:
- Mar 24, 2010, 4:26:21 PM (15 years ago)
- Children:
- 521e29
- Parents:
- 91379c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/Actions/ActionSequence.hpp
r91379c r0012e6 12 12 13 13 class Action; 14 class ActionState; 14 15 15 16 /** … … 19 20 { 20 21 public: 22 typedef std::deque<Action*> actionSet; 23 typedef std::deque<ActionState*> stateSet; 24 21 25 ActionSequence(); 22 26 virtual ~ActionSequence(); … … 25 29 Action* removeLastAction(); 26 30 27 void callAll(); 28 void undoAll(); 31 stateSet callAll(); 32 stateSet undoAll(stateSet); 33 stateSet redoAll(stateSet); 29 34 30 35 bool canUndo(); 36 bool shouldUndo(); 31 37 32 38 private: 33 std::deque<Action*>actions;39 actionSet actions; 34 40 }; 35 41
Note:
See TracChangeset
for help on using the changeset viewer.