]> git.mxchange.org Git - flightgear.git/blobdiff - src/Environment/environment_mgr.hxx
fix a pointer reference.
[flightgear.git] / src / Environment / environment_mgr.hxx
index a0633b170a898be44939e96c24b647648a49e6e5..ffd75346345067f9d22c353614bea1f1694e8a8e 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <simgear/compiler.h>
 #include <simgear/structure/subsystem_mgr.hxx>
+#include <simgear/math/SGMath.hxx>
 
 #ifdef SG_HAVE_STD_INCLUDES
 #  include <cmath>
 
 class FGEnvironment;
 class FGEnvironmentCtrl;
+class FGMetarCtrl;
+class FGMetarFetcher;
 class FGClouds;
+class FGPrecipitationMgr;
 
 /**
  * Manage environment information.
@@ -69,6 +73,7 @@ public:
   virtual FGEnvironment getEnvironment (double lat, double lon,
                                        double alt) const;
 
+  virtual FGEnvironment getEnvironment(const SGGeod& aPos) const;
 private:
 
   void _update_fdm () const;
@@ -86,6 +91,9 @@ private:
 
   FGEnvironment * _environment;        // always the same, for now
   FGEnvironmentCtrl * _controller; // always the same, for now
+  FGMetarCtrl * _metarcontroller; 
+  FGMetarFetcher * _metarfetcher;
+  FGPrecipitationMgr* _precipitationManager;
 
   FGClouds *fgClouds;
 };