Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/CommandLineUI/CommandLineWindow.cpp

    ra1e929 r77b2d7  
    55 *      Author: heber
    66 */
    7 
    8 #include "Helpers/MemDebug.hpp"
    97
    108#include <boost/bind.hpp>
     
    8381  // go through all possible actions
    8482  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))
    8885      ActionRegistry::getInstance().getActionByName(*CommandRunner)->call();
    89     } else {
    90       cout << "absent." << endl;
    91     }
    9286  }
    9387}
Note: See TracChangeset for help on using the changeset viewer.