aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/Clock.h
diff options
context:
space:
mode:
authorJF002 <JF002@users.noreply.github.com>2020-12-01 21:44:44 +0100
committerGitHub <noreply@github.com>2020-12-01 21:44:44 +0100
commitc6556bcdea7671f1c1daaa9e20c4c3d7cd5f29a4 (patch)
tree38c920cd13ed3768af2363de317ef3adf4483bd6 /src/displayapp/screens/Clock.h
parentc87de415b28710ec0f5a504fe4720402b9be5ebc (diff)
parent6e22509b5ffe6d7c29d09b07f38e64fb1bdc0b21 (diff)
Merge pull request #136 from okaestne/include-cleanup
Includes cleanup
Diffstat (limited to 'src/displayapp/screens/Clock.h')
-rw-r--r--src/displayapp/screens/Clock.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/displayapp/screens/Clock.h b/src/displayapp/screens/Clock.h
index 58149a79..4c5f60a0 100644
--- a/src/displayapp/screens/Clock.h
+++ b/src/displayapp/screens/Clock.h
@@ -1,17 +1,19 @@
#pragma once
-#include <cstdint>
+#include <lvgl/src/lv_core/lv_obj.h>
#include <chrono>
-
+#include <cstdint>
+#include <memory>
#include "Screen.h"
-#include <bits/unique_ptr.h>
-#include <libs/lvgl/src/lv_core/lv_style.h>
-#include <libs/lvgl/src/lv_core/lv_obj.h>
-#include "components/ble/NotificationManager.h"
-#include "components/battery/BatteryController.h"
-#include "components/ble/BleController.h"
+#include "components/datetime/DateTimeController.h"
namespace Pinetime {
+ namespace Controllers {
+ class Battery;
+ class Ble;
+ class NotificationManager;
+ }
+
namespace Applications {
namespace Screens {
@@ -34,7 +36,7 @@ namespace Pinetime {
T value;
bool isUpdated = true;
};
- class Clock : public Screen{
+ class Clock : public Screen {
public:
Clock(DisplayApp* app,
Controllers::DateTime& dateTimeController,