diff options
| author | Jean-François Milants <jf@codingfield.com> | 2023-12-09 20:39:08 +0100 |
|---|---|---|
| committer | JF <JF002@users.noreply.github.com> | 2023-12-23 21:12:25 +0100 |
| commit | c94a59e7d3e0f9929171263412033a56872c168a (patch) | |
| tree | f9e3d4c1915b91f57ff8d96b18e10f0fbb998aa4 /src/displayapp/Controllers.h | |
| parent | 088082d32db483ac5326bed09d5d47847fb5bf9b (diff) | |
SimpleWeather service : new weather implementation
This new implementation of the weather feature provides a new BLE API and a new weather service.
The API uses a single characteristic that allows companion apps to write the weather conditions (current and forecast for the next 5 days).
The SimpleWeather service exposes those data as std::optional fields.
This new implementation replaces the previous WeahterService.
The API is documented in docs/SimpleWeatherService.md.
Diffstat (limited to 'src/displayapp/Controllers.h')
| -rw-r--r-- | src/displayapp/Controllers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/displayapp/Controllers.h b/src/displayapp/Controllers.h index df6b2284..9992426c 100644 --- a/src/displayapp/Controllers.h +++ b/src/displayapp/Controllers.h @@ -20,7 +20,7 @@ namespace Pinetime { class MotionController; class AlarmController; class BrightnessController; - class WeatherService; + class SimpleWeatherService; class FS; class Timer; class MusicService; @@ -43,7 +43,7 @@ namespace Pinetime { Pinetime::Controllers::MotionController& motionController; Pinetime::Controllers::AlarmController& alarmController; Pinetime::Controllers::BrightnessController& brightnessController; - Pinetime::Controllers::WeatherService* weatherController; + Pinetime::Controllers::SimpleWeatherService* weatherController; Pinetime::Controllers::FS& filesystem; Pinetime::Controllers::Timer& timer; Pinetime::System::SystemTask* systemTask; |
