diff options
| author | Riku Isokoski <riksu9000@gmail.com> | 2023-02-23 22:16:44 +0200 |
|---|---|---|
| committer | Riku Isokoski <riksu9000@gmail.com> | 2023-02-24 17:41:41 +0200 |
| commit | 1c4b97382a97a8d2222b3062e12d41aa24d4686f (patch) | |
| tree | de23915bbcd11def5f59563d98d2f37b403f7e0e /src/displayapp/screens/ApplicationList.h | |
| parent | 1516b082fd75a1c68d98862199bd349175d37a8f (diff) | |
displayapp: Make Battery class references const
Diffstat (limited to 'src/displayapp/screens/ApplicationList.h')
| -rw-r--r-- | src/displayapp/screens/ApplicationList.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/displayapp/screens/ApplicationList.h b/src/displayapp/screens/ApplicationList.h index e7c094bf..8b52acad 100644 --- a/src/displayapp/screens/ApplicationList.h +++ b/src/displayapp/screens/ApplicationList.h @@ -18,7 +18,7 @@ namespace Pinetime { public: explicit ApplicationList(DisplayApp* app, Pinetime::Controllers::Settings& settingsController, - Pinetime::Controllers::Battery& batteryController, + const Pinetime::Controllers::Battery& batteryController, Pinetime::Controllers::Ble& bleController, Controllers::DateTime& dateTimeController); ~ApplicationList() override; @@ -29,7 +29,7 @@ namespace Pinetime { std::unique_ptr<Screen> CreateScreen(unsigned int screenNum) const; Controllers::Settings& settingsController; - Pinetime::Controllers::Battery& batteryController; + const Pinetime::Controllers::Battery& batteryController; Pinetime::Controllers::Ble& bleController; Controllers::DateTime& dateTimeController; |
