Changeset 9ef76a for molecuilder/src/Actions
- Timestamp:
- Feb 19, 2010, 11:49:54 AM (16 years ago)
- Children:
- 01d28a
- Parents:
- 5d4edf
- Location:
- molecuilder/src/Actions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/Actions/ManipulateAtomsProcess.cpp
r5d4edf r9ef76a 23 23 24 24 void ManipulateAtomsProcess::call(){ 25 World* world = World::get(); 25 World::get()->doManipulate(this); 26 } 27 28 void ManipulateAtomsProcess::undo(){ 29 30 } 31 32 bool ManipulateAtomsProcess::canUndo(){ 33 return false; 34 } 35 36 void ManipulateAtomsProcess::doManipulate(World *world){ 26 37 setMaxSteps(world->numAtoms()); 27 38 start(); … … 33 44 stop(); 34 45 } 35 36 void ManipulateAtomsProcess::undo(){37 38 }39 40 bool ManipulateAtomsProcess::canUndo(){41 return false;42 } -
molecuilder/src/Actions/ManipulateAtomsProcess.hpp
r5d4edf r9ef76a 21 21 virtual void undo(); 22 22 virtual bool canUndo(); 23 24 virtual void doManipulate(World *); 23 25 private: 24 26 AtomDescriptor descr;
Note:
See TracChangeset
for help on using the changeset viewer.