]> git.mxchange.org Git - flightgear.git/blobdiff - src/Autopilot/autopilotgroup.hxx
Merge commit 'refs/merge-requests/1579' of git://gitorious.org/fg/flightgear into...
[flightgear.git] / src / Autopilot / autopilotgroup.hxx
index 1ccb0be76f696bf47d88bff75425f099547453a6..ef97927c1fdfc58dd873626b6f64750a008a2011 100644 (file)
@@ -24,7 +24,6 @@
 #ifndef _XMLAUTO_HXX
 #define _XMLAUTO_HXX 1
 
-
 /**
  * @brief Model an autopilot system by implementing a SGSubsystemGroup
  * 
 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() {}