Get weather Information
WeatherInfo.h
- Committer:
- takashikojo
- Date:
- 2015-07-05
- Revision:
- 2:76b812680942
- Parent:
- 1:8655f1720450
File content as of revision 2:76b812680942:
#ifndef WEATHERINFO_H #define WEATHERINFO_H enum WeatherInfoSource { WEATHER_HACKS } ; class WeatherInfo { public: WeatherInfo(enum WeatherInfoSource s) ; ~WeatherInfo(); void setBuff(char *buff, int size) ; bool getInfo(char *hiTemp, char *loTemp, char *prec) ; private: enum WeatherInfoSource source ; char *recvBuff ; int recvSize ; } ; #endif