]> git.mxchange.org Git - flightgear.git/blobdiff - src/WeatherCM/FGTemperatureItem.h
Erik Hofman:
[flightgear.git] / src / WeatherCM / FGTemperatureItem.h
index 8e519902a0c2aa99eed839ce7468fa407263bce1..f6cc5e04eb865fa4e5b6b93a90f0ff622a7d473e 100644 (file)
@@ -49,7 +49,7 @@ HISTORY
 #include "FGWeatherDefs.h"
 
 // for the case that mutable isn't supported:
-#include "Include/compiler.h"
+#include <simgear/compiler.h>
                
 /****************************************************************************/
 /* DEFINES                                                                 */
@@ -76,6 +76,9 @@ public:
     WeatherPrecision getValue() const { return value; };
     WeatherPrecision getAlt()   const { return alt;   };  
 
+    void setAlt  (WeatherPrecision x) { alt   = x; }
+    void setValue(WeatherPrecision x) { value = x; }
+
     FGTemperatureItem& operator*= (const WeatherPrecision& arg);
     FGTemperatureItem& operator+= (const FGTemperatureItem& arg);
     FGTemperatureItem& operator-= (const FGTemperatureItem& arg);