X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Finstrument_mgr.hxx;h=d7c9b2a07b66ef2474f4b6dcd7f402b30a7ba66d;hb=fe0a703a192a37b96aa4f6048c8e542c24671705;hp=f040e26c21a716924a49f85fdf0e16e21bfd8345;hpb=70dde366bcc738b022fac6f8165257e77f5b643a;p=flightgear.git diff --git a/src/Instrumentation/instrument_mgr.hxx b/src/Instrumentation/instrument_mgr.hxx index f040e26c2..d7c9b2a07 100644 --- a/src/Instrumentation/instrument_mgr.hxx +++ b/src/Instrumentation/instrument_mgr.hxx @@ -16,8 +16,7 @@ #endif #include - -#include
+#include /** @@ -26,13 +25,21 @@ * In the initial draft, the instruments present are hard-coded, but they * will soon be configurable for individual aircraft. */ -class FGInstrumentMgr : public FGSubsystemGroup +class FGInstrumentMgr : public SGSubsystemGroup { public: FGInstrumentMgr (); virtual ~FGInstrumentMgr (); - + + virtual void init(); + virtual void reinit(); +private: + bool build (SGPropertyNode* config_props); + + bool _explicitGps; + + std::vector _instruments; }; #endif // __INSTRUMENT_MGR_HXX