mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
- weather: allow to get city
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -64,6 +64,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));
|
||||
|
Reference in New Issue
Block a user