X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAutopilot%2Fautopilotgroup.hxx;h=ef97927c1fdfc58dd873626b6f64750a008a2011;hb=ec2baa1a418b2ba4e45f745ee76d88801feb7e72;hp=1ccb0be76f696bf47d88bff75425f099547453a6;hpb=9e44be1df7d01515c1dc4a2cda9e340d00c4b887;p=flightgear.git diff --git a/src/Autopilot/autopilotgroup.hxx b/src/Autopilot/autopilotgroup.hxx index 1ccb0be76..ef97927c1 100644 --- a/src/Autopilot/autopilotgroup.hxx +++ b/src/Autopilot/autopilotgroup.hxx @@ -24,7 +24,6 @@ #ifndef _XMLAUTO_HXX #define _XMLAUTO_HXX 1 - /** * @brief Model an autopilot system by implementing a SGSubsystemGroup * @@ -32,7 +31,11 @@ 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; protected: FGXMLAutopilotGroup() : SGSubsystemGroup() {}