X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FSystems%2Fsystem_mgr.hxx;h=a6260a531d921d3213c1cee94b63666ef16be58b;hb=3ccfdac8fe65b1a933148b01d59fad8b764d989a;hp=c16201424c4efccd944f492677703b819b14b7e3;hpb=7c057de4fe8680bc73e6f9c8086f1c6027c00229;p=flightgear.git diff --git a/src/Systems/system_mgr.hxx b/src/Systems/system_mgr.hxx index c16201424..a6260a531 100644 --- a/src/Systems/system_mgr.hxx +++ b/src/Systems/system_mgr.hxx @@ -16,34 +16,25 @@ #endif #include - -#include
- -#include - -SG_USING_STD(vector); +#include +#include /** * 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 _systems; + bool enabled; };