- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/UIElements/CommandLineUI/CommandLineWindow.cpp ¶
re4afb4 rad7270 25 25 #include "CommandLineUI/CommandLineStatusIndicator.hpp" 26 26 27 #include "Helpers/Log.hpp" 28 #include "Helpers/Verbose.hpp" 29 27 30 #include "Actions/Action.hpp" 28 31 #include "Actions/ActionRegistry.hpp" … … 50 53 51 54 // go through all possible actions 55 DoLog(0) && (Log() << Verbose(0) << "Calling Actions ... " << std::endl); 52 56 for (std::list<std::string>::iterator CommandRunner = CommandLineParser::getInstance().SequenceOfActions.begin(); CommandRunner != CommandLineParser::getInstance().SequenceOfActions.end(); ++CommandRunner) { 53 cout << "Checking presence of " << *CommandRunner << ": ";54 57 if (ActionRegistry::getInstance().isActionPresentByName(*CommandRunner)) { 55 cout << "calling " << *CommandRunner << endl; 58 DoLog(1) && (Log() << Verbose(1) 59 << "Checking presence of " << *CommandRunner << ": " 60 << "calling " << *CommandRunner << endl); 56 61 ActionRegistry::getInstance().getActionByName(*CommandRunner)->call(); 57 62 } else { 58 cout << "absent." << endl; 63 DoLog(1) && (Log() << Verbose(1) 64 << "Checking presence of " << *CommandRunner << ": " 65 << "absent." << endl); 59 66 } 60 67 }
Note:
See TracChangeset
for help on using the changeset viewer.