X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAutopilot%2Fautopilotgroup.hxx;h=ef97927c1fdfc58dd873626b6f64750a008a2011;hb=ec2baa1a418b2ba4e45f745ee76d88801feb7e72;hp=6e6c1f1968f3a713912be0b08dcb5380c84bad37;hpb=c6062ad93cf3bfbffb6dec63cd6844167bb56980;p=flightgear.git diff --git a/src/Autopilot/autopilotgroup.hxx b/src/Autopilot/autopilotgroup.hxx index 6e6c1f196..ef97927c1 100644 --- a/src/Autopilot/autopilotgroup.hxx +++ b/src/Autopilot/autopilotgroup.hxx @@ -31,7 +31,8 @@ class FGXMLAutopilotGroup : public SGSubsystemGroup { public: - static FGXMLAutopilotGroup * createInstance(); + static FGXMLAutopilotGroup * createInstance(const std::string& nodeName); + void addAutopilotFromFile( const std::string & name, SGPropertyNode_ptr apNode, const char * path ); virtual void addAutopilot( const std::string & name, SGPropertyNode_ptr apNode, SGPropertyNode_ptr config ) = 0; virtual void removeAutopilot( const std::string & name ) = 0;