weather: allow to get city

Origin commit data
------------------
Branch: ni/coolstream
Commit: b9048f05e4
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-03-20 (Wed, 20 Mar 2019)

Origin message was:
------------------
- weather: allow to get city

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2019-03-20 23:51:49 +01:00
parent d06d4d528f
commit 03158edde1

View File

@@ -65,6 +65,10 @@ class CWeather
void setCoords(std::string new_coords, std::string new_city = "Unknown");
void show(int x = 50, int y = 50);
void hide();
std::string getCity()
{
return city;
};
std::string getActTemp()
{
return to_string((int)(act_temp + 0.5));