- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/ManipulateAtomsProcess.hpp
r5b0b98 rafb47f 10 10 11 11 #include "Actions/Process.hpp" 12 13 #include<boost/function.hpp>14 15 12 #include "Descriptors/AtomDescriptor.hpp" 16 17 class World;18 13 19 14 class ManipulateAtomsProcess : public Process … … 23 18 virtual ~ManipulateAtomsProcess(); 24 19 20 virtual void call(); 21 virtual void undo(); 25 22 virtual bool canUndo(); 26 virtual bool shouldUndo();27 23 28 24 virtual void doManipulate(World *); 29 25 private: 30 31 virtual Action::state_ptr performCall();32 virtual Action::state_ptr performUndo(Action::state_ptr);33 virtual Action::state_ptr performRedo(Action::state_ptr);34 35 26 AtomDescriptor descr; 36 27 boost::function<void(atom*)> operation;
Note:
See TracChangeset
for help on using the changeset viewer.