Changeset 0012e6 for molecuilder/src/Actions/ErrorAction.cpp
- Timestamp:
- Mar 24, 2010, 4:26:21 PM (16 years ago)
- Children:
- 521e29
- Parents:
- 91379c
- File:
-
- 1 edited
-
molecuilder/src/Actions/ErrorAction.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/Actions/ErrorAction.cpp
r91379c r0012e6 11 11 #include "log.hpp" 12 12 #include "verbose.hpp" 13 #include "Helpers/Assert.hpp" 13 14 14 15 using namespace std; … … 24 25 } 25 26 26 void ErrorAction::call() {27 ActionState* ErrorAction::performCall() { 27 28 Log() << Verbose(0) << errorMsg << endl; 29 return Action::success; 28 30 } 29 void ErrorAction::undo() { 31 ActionState* ErrorAction::performUndo(ActionState*) { 32 ASSERT(0,"Undo called for an ErrorAction"); 33 return Action::success; 34 } 35 36 ActionState* ErrorAction::performRedo(ActionState*) { 37 ASSERT(0,"Redo called for an ErrorAction"); 38 return Action::success; 30 39 } 31 40 … … 33 42 return false; 34 43 } 44 45 bool ErrorAction::shouldUndo(){ 46 return false; 47 }
Note:
See TracChangeset
for help on using the changeset viewer.
