]> git.mxchange.org Git - flightgear.git/blobdiff - src/Systems/system_mgr.hxx
use http_proxy environment variable
[flightgear.git] / src / Systems / system_mgr.hxx
index c16201424c4efccd944f492677703b819b14b7e3..a6260a531d921d3213c1cee94b63666ef16be58b 100644 (file)
 #endif
 
 #include <simgear/compiler.h>
-
-#include <Main/fgfs.hxx>
-
-#include <vector>
-
-SG_USING_STD(vector);
+#include <simgear/props/props.hxx>
+#include <simgear/structure/subsystem_mgr.hxx>
 
 
 /**
  * Manage aircraft systems.
  *
- * In the initial draft, the systems present are hard-coded, but they
- * will soon be configurable for individual aircraft.
+ * Multiple aircraft systems can be configured for each aircraft.
  */
-class FGSystemMgr : public FGSubsystem
+class FGSystemMgr : public SGSubsystemGroup
 {
 public:
 
     FGSystemMgr ();
     virtual ~FGSystemMgr ();
-
-    virtual void init ();
-    virtual void bind ();
-    virtual void unbind ();
-    virtual void update (double dt);
+    bool build (SGPropertyNode* config_props);
 
 private:
-    vector<FGSubsystem *> _systems;
+    bool enabled;
 
 };