diff options
author | louis <louis.braun@gmx.de> | 2015-01-13 09:01:11 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2015-01-13 09:01:11 +0100 |
commit | 4d8d1cc629ce5db3862aac75baafa0d1dae69b21 (patch) | |
tree | 4850c485c72b61d7576dc6698e6ae8faba44e53f /services/weatherforecast.h | |
parent | c59cc4e6103c38897ceba54b6a88e6934147f263 (diff) | |
download | vdr-plugin-skindesigner-4d8d1cc629ce5db3862aac75baafa0d1dae69b21.tar.gz vdr-plugin-skindesigner-4d8d1cc629ce5db3862aac75baafa0d1dae69b21.tar.bz2 |
introduced weather service interface
Diffstat (limited to 'services/weatherforecast.h')
-rw-r--r-- | services/weatherforecast.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/services/weatherforecast.h b/services/weatherforecast.h new file mode 100644 index 0000000..c3f6b48 --- /dev/null +++ b/services/weatherforecast.h @@ -0,0 +1,45 @@ +#ifndef __WEATHERFORECASTSERVICES_H +#define __WEATHERFORECASTSERVICES_H + +#include <string> + +class cServiceCurrentWeather { +public: + cServiceCurrentWeather(void) { + timeStamp = ""; + temperature = ""; + apparentTemperature = ""; + summary = ""; + icon = ""; + precipitationIntensity = ""; + precipitationProbability = 0; + precipitationType = ""; + humidity = 0; + windSpeed = ""; + windBearing = 0; + windBearingString = ""; + visibility = ""; + cloudCover = 0; + pressure = ""; + ozone = ""; + }; + std::string timeStamp; + std::string temperature; + std::string apparentTemperature; + std::string summary; + std::string icon; + std::string precipitationIntensity; + int precipitationProbability; + std::string precipitationType; + int humidity; + std::string windSpeed; + int windBearing; + std::string windBearingString; + std::string visibility; + int cloudCover; + std::string pressure; + std::string ozone; +}; + +#endif //__WEATHERFORECASTSERVICES_H + |