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