]> git.mxchange.org Git - flightgear.git/blobdiff - src/Autopilot/autopilot.hxx
Cleanup, no functional change
[flightgear.git] / src / Autopilot / autopilot.hxx
index 56bb6c32e5535bb76ce24e3fcfe423a301ea151c..3962081a8beb238293b49c9604a5780cce16ad61 100644 (file)
 #ifndef __AUTOPILOT_HXX
 #define __AUTOPILOT_HXX 1
 
-#ifdef HAVE_CONFIG_H
-#  include <config.h>
-#endif
-
-#include "component.hxx"
-
 #include <simgear/props/props.hxx>
 #include <simgear/structure/subsystem_mgr.hxx>
 
 namespace FGXMLAutopilot {
 
+class Component;
+  
 /**
  * @brief A SGSubsystemGroup implementation to serve as a collection
  * of Components
@@ -52,9 +48,9 @@ public:
     bool is_serviceable() const { return _serviceable; }
 
     std::string get_name() const { return _name; }
-    void set_name( std::string & name ) { _name = name; }
+    void set_name( const std::string & name ) { _name = name; }
 
-    void add_component( Component * component );
+    void add_component( Component * component, double updateInterval );
 
 protected: