Get weather Information

WeatherInfo.h

Committer:
takashikojo
Date:
2015-06-28
Revision:
1:8655f1720450
Parent:
0:6d53d6d34ac3
Child:
2:76b812680942

File content as of revision 1:8655f1720450:

#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() ;
private:
    enum WeatherInfoSource source ;
    char *recvBuff ;
    int  recvSize  ;
} ;

#endif