]> git.mxchange.org Git - flightgear.git/blobdiff - src/Autopilot/flipflop.hxx
Cleanup, no functional change
[flightgear.git] / src / Autopilot / flipflop.hxx
index e81c551a162c24173cfe9ec4d2f7e964dc6aff1f..343020e75adcc2215f0210f63524bc059f2cb29d 100644 (file)
@@ -36,7 +36,10 @@ protected:
   *        as childs under configNode and calls configure of the derived class for each child.
   * @param configNode the property node containing the configuration 
   */
-  virtual bool configure( const std::string & nodeName, SGPropertyNode_ptr configNode ) { return false; }
+  virtual bool configure( SGPropertyNode& cfg_node,
+                          const std::string& cfg_name,
+                          SGPropertyNode& prop_root )
+  { return false; }
 public:
   virtual ~FlipFlopImplementation() {}
   /**
@@ -53,7 +56,8 @@ public:
   *        as childs under configNode and calls configure of the derived class for each child.
   * @param configNode the property node containing the configuration 
   */
-  bool configure( SGPropertyNode_ptr configNode );
+  bool configure( SGPropertyNode& prop_root,
+                  SGPropertyNode& cfg );
 };
 
 /**
@@ -69,7 +73,9 @@ protected:
      * @param aNode
      * @return true if the node was handled, false otherwise.
      */
-    virtual bool configure( const std::string & nodeName, SGPropertyNode_ptr configNode );
+    virtual bool configure( SGPropertyNode& cfg_node,
+                            const std::string& cfg_name,
+                            SGPropertyNode& prop_root );
 
    /** 
     * @brief Implementation of the pure virtual function of the Component class. Gets called from