summaryrefslogtreecommitdiff
path: root/libforecastio/forecast.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2016-01-26 18:38:37 +0100
committerlouis <louis.braun@gmx.de>2016-01-26 18:38:37 +0100
commit842b086b65a7116a7aa5a2142097a2b2220f4c3c (patch)
treecf5655fc2c23a6a87fe4a4e6ba06b3fbc69cd1d0 /libforecastio/forecast.h
parent36f7ac94dc3c6a6801b98d285a41851a0c61adf9 (diff)
downloadvdr-plugin-weatherforecast-master.tar.gz
vdr-plugin-weatherforecast-master.tar.bz2
adaptions skindesigner 0.8.0HEAD0.2.0master
Diffstat (limited to 'libforecastio/forecast.h')
-rw-r--r--libforecastio/forecast.h1
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; };