Ignore:
File:
1 edited

Legend:

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

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