Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: NWSWeather.h
- Revision:
- 6:cf96f2787a4e
- Parent:
- 5:f3ae5160977e
- Child:
- 9:fcd83b2bd0cd
--- a/NWSWeather.h Mon Apr 21 00:19:38 2014 +0000 +++ b/NWSWeather.h Thu May 22 16:10:13 2014 +0000 @@ -90,7 +90,7 @@ /// The internal maintenance structure. typedef struct { - char * name; + const char * name; TypeOf_T typeis; bool updated; Value_T value; @@ -247,12 +247,14 @@ /// calls PrintWeatherRecord for each available parameter. /// void PrintAllWeatherRecords(void); - + + /// Clear all the data and free allocated memory. + /// + void ClearWeatherRecords(void); + private: - HTTPClient http; char * m_baseurl; NWSReturnCode_T ParseWeatherRecord(char * p); void ParseWeatherXML(char * message); - void ClearWeatherRecords(void); }; #endif // NWSWEATHER_H \ No newline at end of file