]> git.mxchange.org Git - flightgear.git/blobdiff - src/WeatherCM/FGAirPressureItem.h
Erik Hofman:
[flightgear.git] / src / WeatherCM / FGAirPressureItem.h
index 5c80eefc4a1ae3faf038dc0ec4c7e6b5a414aacf..21192904b71b5949905a0e02681e3ce76869caaa 100644 (file)
@@ -80,11 +80,16 @@ public:
     FGAirPressureItem(const WeatherPrecision v)        {value = v;                             }
     FGAirPressureItem()                                {value = FG_WEATHER_DEFAULT_AIRPRESSURE;}
 
-    WeatherPrecision getValue(void) const
+    WeatherPrecision getValue() const
     { 
        return value;
     };
-   
+
+    void setValue(WeatherPrecision p) 
+    { 
+       value = p;
+    };
+
     FGAirPressureItem& operator*=(const WeatherPrecision   arg);
     FGAirPressureItem& operator+=(const FGAirPressureItem& arg);
     FGAirPressureItem& operator-=(const FGAirPressureItem& arg);