diff options
author | louis <louis.braun@gmx.de> | 2016-01-26 18:38:37 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2016-01-26 18:38:37 +0100 |
commit | 842b086b65a7116a7aa5a2142097a2b2220f4c3c (patch) | |
tree | cf5655fc2c23a6a87fe4a4e6ba06b3fbc69cd1d0 /libforecastio/forecast.h | |
parent | 36f7ac94dc3c6a6801b98d285a41851a0c61adf9 (diff) | |
download | vdr-plugin-weatherforecast-master.tar.gz vdr-plugin-weatherforecast-master.tar.bz2 |
Diffstat (limited to 'libforecastio/forecast.h')
-rw-r--r-- | libforecastio/forecast.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libforecastio/forecast.h b/libforecastio/forecast.h index ccb250d..32a485a 100644 --- a/libforecastio/forecast.h +++ b/libforecastio/forecast.h @@ -67,6 +67,7 @@ public: float GetApparentTemperature(void) { return apparentTemperature; }; float GetHumidity(void) { return humidity; }; float GetWindSpeed(void) { return windSpeed; }; + int GetWindSpeedKnots(void) { return (windSpeed+10)/6; }; int GetWindBearing(void) { return windBearing; }; float GetVisibility(void) { return visibility; }; float GetCloudCover(void) { return cloudCover; }; |