]> git.mxchange.org Git - flightgear.git/blobdiff - src/Systems/system_mgr.hxx
Make sure that all elapsed time gets passed to update when a subsystem
[flightgear.git] / src / Systems / system_mgr.hxx
index c16201424c4efccd944f492677703b819b14b7e3..544b1e30ac7f07f15bc289b60a655f467ba6f93c 100644 (file)
 
 #include <Main/fgfs.hxx>
 
-#include <vector>
-
-SG_USING_STD(vector);
-
 
 /**
  * Manage aircraft systems.
@@ -30,21 +26,12 @@ SG_USING_STD(vector);
  * In the initial draft, the systems present are hard-coded, but they
  * will soon be configurable for individual aircraft.
  */
-class FGSystemMgr : public FGSubsystem
+class FGSystemMgr : public FGSubsystemGroup
 {
 public:
 
     FGSystemMgr ();
     virtual ~FGSystemMgr ();
-
-    virtual void init ();
-    virtual void bind ();
-    virtual void unbind ();
-    virtual void update (double dt);
-
-private:
-    vector<FGSubsystem *> _systems;
-
 };
 
 #endif // __SYSTEM_MGR_HXX