X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAutopilot%2Fautopilotgroup.hxx;h=6e6c1f1968f3a713912be0b08dcb5380c84bad37;hb=da73dd97d3d0e36b6078728ac39f0b98cae46ff7;hp=1ccb0be76f696bf47d88bff75425f099547453a6;hpb=0bce31ae9a80c571b9126427c093b8dc3d3f6820;p=flightgear.git diff --git a/src/Autopilot/autopilotgroup.hxx b/src/Autopilot/autopilotgroup.hxx index 1ccb0be76..6e6c1f196 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 * @@ -33,6 +32,9 @@ class FGXMLAutopilotGroup : public SGSubsystemGroup { public: static FGXMLAutopilotGroup * createInstance(); + 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() {}