InfiniTime.git

ref: fc5424cb72e477c5f1bbfaeddb5c50b851a965ae

src/displayapp/Controllers.h


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#pragma once

namespace Pinetime {
  namespace Applications {
    class DisplayApp;
  }

  namespace Components {
    class LittleVgl;
  }

  namespace Controllers {
    class Battery;
    class Ble;
    class DateTime;
    class NotificationManager;
    class HeartRateController;
    class Settings;
    class MotorController;
    class MotionController;
    class AlarmController;
    class BrightnessController;
    class SimpleWeatherService;
    class FS;
    class Timer;
    class MusicService;
    class NavigationService;
  }

  namespace System {
    class SystemTask;
  }

  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;
      Pinetime::Controllers::SimpleWeatherService* weatherController;
      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;
    };
  }
}