1
0
Fork 0

SGSubsystem classes: Registration of all subsystems added since mid 2018.

This commit is contained in:
Edward d'Auvergne 2022-10-11 22:56:29 +02:00 committed by James Turner
parent ec52a4ee7b
commit ad33e50324
3 changed files with 13 additions and 0 deletions

View file

@ -668,3 +668,7 @@ void Highlight::addPropertyProperty(const std::string& from0, const std::string&
} }
} }
} }
// Register the subsystem.
SGSubsystemMgr::Registrant<Highlight> registrantHighlight(
SGSubsystemMgr::INIT);

View file

@ -942,3 +942,7 @@ std::string ErrorReporter::threadSpecificContextValue(const std::string& key)
} // namespace flightgear } // namespace flightgear
// Register the subsystem.
SGSubsystemMgr::Registrant<flightgear::ErrorReporter> registrantErrorReporter(
SGSubsystemMgr::GENERAL);

View file

@ -547,4 +547,9 @@ bool GraphicsPresets::saveToXML(const SGPath& path, const std::string& name, con
return true; return true;
} }
// Register the subsystem.
SGSubsystemMgr::Registrant<GraphicsPresets> registrantGraphicsPresets(
SGSubsystemMgr::DISPLAY);
} // namespace flightgear } // namespace flightgear