X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Finstrument_mgr.hxx;h=d7c9b2a07b66ef2474f4b6dcd7f402b30a7ba66d;hb=fe0a703a192a37b96aa4f6048c8e542c24671705;hp=68a2294045072ff066e9443ce29f6411e87f37c3;hpb=677c3e3e9ab9598c40a23cc89f99235d618b3a6f;p=flightgear.git diff --git a/src/Instrumentation/instrument_mgr.hxx b/src/Instrumentation/instrument_mgr.hxx index 68a229404..d7c9b2a07 100644 --- a/src/Instrumentation/instrument_mgr.hxx +++ b/src/Instrumentation/instrument_mgr.hxx @@ -16,12 +16,7 @@ #endif #include - -#include
- -#include - -SG_USING_STD(vector); +#include /** @@ -30,13 +25,21 @@ SG_USING_STD(vector); * 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