#include "component.hxx"
#include <Main/fg_props.hxx>
#include <simgear/structure/exception.hxx>
+#include <simgear/props/condition.hxx>
using namespace FGXMLAutopilot;
bool Component::configure( const std::string & nodeName, SGPropertyNode_ptr configNode )
{
- SG_LOG( SG_AUTOPILOT, SG_BULK, "Component::configure(" << nodeName << ")" << endl );
+ SG_LOG( SG_AUTOPILOT, SG_BULK, "Component::configure(" << nodeName << ")" << std::endl );
if ( nodeName == "name" ) {
_name = configNode->getStringValue();
return true;
} // enable
- SG_LOG( SG_AUTOPILOT, SG_BULK, "Component::configure(" << nodeName << ") [unhandled]" << endl );
+ SG_LOG( SG_AUTOPILOT, SG_BULK, "Component::configure(" << nodeName << ") [unhandled]" << std::endl );
return false;
}