willRainSoon from API

This commit is contained in:
2026-08-02 22:51:39 +02:00
parent 0fec1ecfac
commit 4a4e897e66
3 changed files with 3 additions and 13 deletions
+1 -1
View File
@@ -19,9 +19,9 @@ struct ForecastEntry {
struct WeatherData {
bool valid = false;
bool willRainSoon = false;
WeatherCurrent current;
std::vector<ForecastEntry> forecast;
};
WeatherData fetchWeather();
bool willRainSoon(const WeatherData &data, int hours = 8);