2023-10-23 18:12:34 +00:00
|
|
|
#pragma once
|
2023-11-01 20:06:26 +00:00
|
|
|
|
2023-10-23 18:12:34 +00:00
|
|
|
namespace Pinetime {
|
|
|
|
namespace Applications {
|
|
|
|
class DisplayApp;
|
|
|
|
}
|
2023-11-01 20:06:26 +00:00
|
|
|
|
2023-10-23 18:12:34 +00:00
|
|
|
namespace Components {
|
|
|
|
class LittleVgl;
|
|
|
|
}
|
2023-11-01 20:06:26 +00:00
|
|
|
|
2023-10-23 18:12:34 +00:00
|
|
|
namespace Controllers {
|
|
|
|
class Battery;
|
|
|
|
class Ble;
|
|
|
|
class DateTime;
|
|
|
|
class NotificationManager;
|
|
|
|
class HeartRateController;
|
|
|
|
class Settings;
|
|
|
|
class MotorController;
|
|
|
|
class MotionController;
|
|
|
|
class AlarmController;
|
|
|
|
class BrightnessController;
|
2023-12-09 19:39:08 +00:00
|
|
|
class SimpleWeatherService;
|
2023-10-23 18:12:34 +00:00
|
|
|
class FS;
|
|
|
|
class Timer;
|
|
|
|
class MusicService;
|
|
|
|
class NavigationService;
|
|
|
|
}
|
2023-11-01 20:06:26 +00:00
|
|
|
|
2023-10-23 18:12:34 +00:00
|
|
|
namespace System {
|
|
|
|
class SystemTask;
|
|
|
|
}
|
2023-11-01 20:06:26 +00:00
|
|
|
|
2023-10-23 18:12:34 +00:00
|
|
|
namespace Applications {
|
|
|
|
struct AppControllers {
|
|
|
|
const Pinetime::Controllers::Battery& batteryController;
|
|
|
|
const Pinetime::Controllers::Ble& bleController;
|
|
|
|
Pinetime::Controllers::DateTime& dateTimeController;
|
|
|
|
Pinetime::Controllers::NotificationManager& notificationManager;
|
|
|
|
Pinetime::Controllers::HeartRateController& heartRateController;
|
|
|
|
Pinetime::Controllers::Settings& settingsController;
|
|
|
|
Pinetime::Controllers::MotorController& motorController;
|
|
|
|
Pinetime::Controllers::MotionController& motionController;
|
|
|
|
Pinetime::Controllers::AlarmController& alarmController;
|
|
|
|
Pinetime::Controllers::BrightnessController& brightnessController;
|
2023-12-09 19:39:08 +00:00
|
|
|
Pinetime::Controllers::SimpleWeatherService* weatherController;
|
2023-10-23 18:12:34 +00:00
|
|
|
Pinetime::Controllers::FS& filesystem;
|
|
|
|
Pinetime::Controllers::Timer& timer;
|
|
|
|
Pinetime::System::SystemTask* systemTask;
|
|
|
|
Pinetime::Applications::DisplayApp* displayApp;
|
|
|
|
Pinetime::Components::LittleVgl& lvgl;
|
|
|
|
Pinetime::Controllers::MusicService* musicService;
|
|
|
|
Pinetime::Controllers::NavigationService* navigationService;
|
|
|
|
};
|
|
|
|
}
|
2023-11-01 19:52:47 +00:00
|
|
|
}
|