- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/CommandLineUI/CommandLineWindow.cpp
ra1e929 r77b2d7 5 5 * Author: heber 6 6 */ 7 8 #include "Helpers/MemDebug.hpp"9 7 10 8 #include <boost/bind.hpp> … … 83 81 // go through all possible actions 84 82 for (std::list<std::string>::iterator CommandRunner = CommandLineParser::getInstance().SequenceOfActions.begin(); CommandRunner != CommandLineParser::getInstance().SequenceOfActions.end(); ++CommandRunner) { 85 cout << "Checking presence of " << *CommandRunner << ": "; 86 if (ActionRegistry::getInstance().isActionByNamePresent(*CommandRunner)) { 87 cout << "calling " << *CommandRunner << endl; 83 cout << "Checking presence of " << *CommandRunner << endl; 84 if (ActionRegistry::getInstance().isActionByNamePresent(*CommandRunner)) 88 85 ActionRegistry::getInstance().getActionByName(*CommandRunner)->call(); 89 } else {90 cout << "absent." << endl;91 }92 86 } 93 87 }
Note:
See TracChangeset
for help on using the changeset viewer.