Fixed all the includes that were broken due to the renames

This commit is contained in:
Avamander 2020-10-02 22:16:48 +03:00
parent 4daab26926
commit 6c86d1d9d7
110 changed files with 149 additions and 136 deletions

View file

@ -45,7 +45,7 @@ As of now, here is the list of achievements of this project:
## Documentation
### Develop
- [Generate the fonts and symbols](src/DisplayApp/Fonts/Readme.md)
- [Generate the fonts and symbols](src/displayapp/fonts/Readme.md)
### Build, flash and debug
- [Project branches](doc/branches.md)

View file

@ -292,33 +292,33 @@ set(LVGL_SRC
)
list(APPEND IMAGE_FILES
displayapp/Icons/battery/os_battery_error.c
displayapp/Icons/battery/os_battery_100.c
displayapp/Icons/battery/os_battery_090.c
displayapp/Icons/battery/os_battery_080.c
displayapp/Icons/battery/os_battery_070.c
displayapp/Icons/battery/os_battery_060.c
displayapp/Icons/battery/os_battery_050.c
displayapp/Icons/battery/os_battery_040.c
displayapp/Icons/battery/os_battery_030.c
displayapp/Icons/battery/os_battery_020.c
displayapp/Icons/battery/os_battery_010.c
displayapp/Icons/battery/os_battery_005.c
displayapp/icons/battery/os_battery_error.c
displayapp/icons/battery/os_battery_100.c
displayapp/icons/battery/os_battery_090.c
displayapp/icons/battery/os_battery_080.c
displayapp/icons/battery/os_battery_070.c
displayapp/icons/battery/os_battery_060.c
displayapp/icons/battery/os_battery_050.c
displayapp/icons/battery/os_battery_040.c
displayapp/icons/battery/os_battery_030.c
displayapp/icons/battery/os_battery_020.c
displayapp/icons/battery/os_battery_010.c
displayapp/icons/battery/os_battery_005.c
displayapp/Icons/battery/os_batterycharging_100.c
displayapp/Icons/battery/os_batterycharging_090.c
displayapp/Icons/battery/os_batterycharging_080.c
displayapp/Icons/battery/os_batterycharging_070.c
displayapp/Icons/battery/os_batterycharging_060.c
displayapp/Icons/battery/os_batterycharging_050.c
displayapp/Icons/battery/os_batterycharging_040.c
displayapp/Icons/battery/os_batterycharging_030.c
displayapp/Icons/battery/os_batterycharging_020.c
displayapp/Icons/battery/os_batterycharging_010.c
displayapp/Icons/battery/os_batterycharging_005.c
displayapp/icons/battery/os_batterycharging_100.c
displayapp/icons/battery/os_batterycharging_090.c
displayapp/icons/battery/os_batterycharging_080.c
displayapp/icons/battery/os_batterycharging_070.c
displayapp/icons/battery/os_batterycharging_060.c
displayapp/icons/battery/os_batterycharging_050.c
displayapp/icons/battery/os_batterycharging_040.c
displayapp/icons/battery/os_batterycharging_030.c
displayapp/icons/battery/os_batterycharging_020.c
displayapp/icons/battery/os_batterycharging_010.c
displayapp/icons/battery/os_batterycharging_005.c
displayapp/Icons/bluetooth/os_bt_connected.c
displayapp/Icons/bluetooth/os_bt_disconnected.c
displayapp/icons/bluetooth/os_bt_connected.c
displayapp/icons/bluetooth/os_bt_disconnected.c
)
list(APPEND SOURCE_FILES
@ -349,30 +349,30 @@ list(APPEND SOURCE_FILES
drivers/Watchdog.cpp
drivers/DebugPins.cpp
drivers/InternalFlash.cpp
components/Battery/BatteryController.cpp
components/Ble/BleController.cpp
components/Ble/NotificationManager.cpp
components/DateTime/DateTimeController.cpp
components/Brightness/BrightnessController.cpp
components/Ble/NimbleController.cpp
components/Ble/DeviceInformationService.cpp
components/Ble/CurrentTimeClient.cpp
components/Ble/AlertNotificationClient.cpp
components/Ble/DfuService.cpp
components/Ble/CurrentTimeService.cpp
components/Ble/AlertNotificationService.cpp
components/Ble/MusicService.cpp
components/Ble/BatteryInformationService.cpp
components/Ble/ImmediateAlertService.cpp
components/FirmwareValidator/FirmwareValidator.cpp
components/battery/BatteryController.cpp
components/ble/BleController.cpp
components/ble/NotificationManager.cpp
components/datetime/DateTimeController.cpp
components/brightness/BrightnessController.cpp
components/ble/NimbleController.cpp
components/ble/DeviceInformationService.cpp
components/ble/CurrentTimeClient.cpp
components/ble/AlertNotificationClient.cpp
components/ble/DfuService.cpp
components/ble/CurrentTimeService.cpp
components/ble/AlertNotificationService.cpp
components/ble/MusicService.cpp
components/ble/BatteryInformationService.cpp
components/ble/ImmediateAlertService.cpp
components/firmwarevalidator/FirmwareValidator.cpp
drivers/Cst816s.cpp
FreeRTOS/port.c
FreeRTOS/port_cmsis_systick.c
FreeRTOS/port_cmsis.c
displayapp/LittleVgl.cpp
displayapp/Fonts/jetbrains_mono_extrabold_compressed.c
displayapp/Fonts/jetbrains_mono_bold_20.c
displayapp/fonts/jetbrains_mono_extrabold_compressed.c
displayapp/fonts/jetbrains_mono_bold_20.c
systemtask/SystemTask.cpp
drivers/TwiMaster.cpp
@ -389,9 +389,9 @@ list(APPEND GRAPHICS_SOURCE_FILES
drivers/Spi.cpp
logging/NrfLogger.cpp
components/Gfx/Gfx.cpp
components/gfx/Gfx.cpp
drivers/St7789.cpp
components/Brightness/BrightnessController.cpp
components/brightness/BrightnessController.cpp
graphics.cpp
)
@ -426,19 +426,19 @@ set(INCLUDE_FILES
drivers/Watchdog.h
drivers/DebugPins.h
drivers/InternalFlash.h
components/Battery/BatteryController.h
components/Ble/BleController.h
components/Ble/NotificationManager.h
components/DateTime/DateTimeController.h
components/Brightness/BrightnessController.h
components/Ble/NimbleController.h
components/Ble/DeviceInformationService.h
components/Ble/CurrentTimeClient.h
components/Ble/AlertNotificationClient.h
components/Ble/DfuService.h
components/FirmwareValidator/FirmwareValidator.h
components/Ble/BatteryInformationService.h
components/Ble/ImmediateAlertService.h
components/battery/BatteryController.h
components/ble/BleController.h
components/ble/NotificationManager.h
components/datetime/DateTimeController.h
components/brightness/BrightnessController.h
components/ble/NimbleController.h
components/ble/DeviceInformationService.h
components/ble/CurrentTimeClient.h
components/ble/AlertNotificationClient.h
components/ble/DfuService.h
components/firmwarevalidator/FirmwareValidator.h
components/ble/BatteryInformationService.h
components/ble/ImmediateAlertService.h
drivers/Cst816s.h
FreeRTOS/portmacro.h
FreeRTOS/portmacro_cmsis.h

View file

@ -1,4 +1,4 @@
#include <SystemTask/SystemTask.h>
#include <systemtask/SystemTask.h>
#include "NotificationManager.h"
#include "AlertNotificationClient.h"

View file

@ -1,7 +1,7 @@
#include <hal/nrf_rtc.h>
#include "NotificationManager.h"
#include <SystemTask/SystemTask.h>
#include <systemtask/SystemTask.h>
#include "AlertNotificationService.h"
#include <cstring>

View file

@ -1,5 +1,5 @@
#include "BatteryInformationService.h"
#include "../Battery/BatteryController.h"
#include "components/battery/BatteryController.h"
using namespace Pinetime::Controllers;

View file

@ -1,7 +1,8 @@
#pragma once
#include <cstdint>
#include <array>
#include <Components/DateTime/DateTimeController.h>
#include "components/datetime/DateTimeController.h"
#include <host/ble_gap.h>
namespace Pinetime {

View file

@ -1,7 +1,8 @@
#pragma once
#include <cstdint>
#include <array>
#include <Components/DateTime/DateTimeController.h>
#include "components/datetime/DateTimeController.h"
#include <host/ble_gap.h>
namespace Pinetime {

View file

@ -1,6 +1,7 @@
#include <Components/Ble/BleController.h>
#include <SystemTask/SystemTask.h>
#include <cstring>
#include "components/ble/BleController.h"
#include "systemtask/SystemTask.h"
#include "DfuService.h"
using namespace Pinetime::Controllers;

View file

@ -1,5 +1,5 @@
#include <systemtask/SystemTask.h>
#include "ImmediateAlertService.h"
#include <SystemTask/SystemTask.h>
#include "AlertNotificationService.h"
using namespace Pinetime::Controllers;

View file

@ -1,4 +1,4 @@
#include <SystemTask/SystemTask.h>
#include <systemtask/SystemTask.h>
#include "MusicService.h"
int MSCallback(uint16_t conn_handle, uint16_t attr_handle, struct ble_gatt_access_ctxt *ctxt, void *arg) {

View file

@ -1,8 +1,8 @@
#include <Components/DateTime/DateTimeController.h>
#include "components/datetime/DateTimeController.h"
#include <SystemTask/SystemTask.h>
#include <Components/Ble/NotificationManager.h>
#include <systemtask/SystemTask.h>
#include "components/ble/NotificationManager.h"
#include <hal/nrf_rtc.h>
#include "NimbleController.h"

View file

@ -1,6 +1,7 @@
#pragma once
#include <cstdint>
#include "AlertNotificationService.h"
#include "AlertNotificationClient.h"
#include "DeviceInformationService.h"

View file

@ -1,24 +1,25 @@
#include <string>
#include "DisplayApp.h"
#include <FreeRTOS.h>
#include <task.h>
#include <libraries/log/nrf_log.h>
#include <nrf_font.h>
#include <queue.h>
#include <Components/DateTime/DateTimeController.h>
#include "components/datetime/DateTimeController.h"
#include <drivers/Cst816s.h>
#include <string>
#include <DisplayApp/Screens/Tile.h>
#include <DisplayApp/Screens/Meter.h>
#include <DisplayApp/Screens/Gauge.h>
#include <DisplayApp/Screens/Brightness.h>
#include <DisplayApp/Screens/SystemInfo.h>
#include <DisplayApp/Screens/Music.h>
#include <Components/Ble/NotificationManager.h>
#include <DisplayApp/Screens/FirmwareUpdate.h>
#include <DisplayApp/Screens/ApplicationList.h>
#include <DisplayApp/Screens/FirmwareValidation.h>
#include <DisplayApp/Screens/InfiniPaint.h>
#include "../SystemTask/SystemTask.h"
#include "displayapp/screens/Tile.h"
#include "displayapp/screens/Meter.h"
#include "displayapp/screens/Gauge.h"
#include "displayapp/screens/Brightness.h"
#include "displayapp/screens/SystemInfo.h"
#include "displayapp/screens/Music.h"
#include "components/ble/NotificationManager.h"
#include "displayapp/screens/FirmwareUpdate.h"
#include "displayapp/screens/ApplicationList.h"
#include "displayapp/screens/FirmwareValidation.h"
#include "displayapp/screens/InfiniPaint.h"
#include "systemtask/SystemTask.h"
using namespace Pinetime::Applications;
@ -148,7 +149,7 @@ void DisplayApp::Refresh() {
}
}
// lvgl.SetFullRefresh(Components::LittleVgl::FullRefreshDirections::Down);
// lvgl.SetFullRefresh(components::LittleVgl::FullRefreshDirections::Down);
// currentScreen.reset(nullptr);
// if(toggle) {
// currentScreen.reset(new Screens::Tile(this));

View file

@ -3,21 +3,21 @@
#include <task.h>
#include <drivers/St7789.h>
#include <drivers/SpiMaster.h>
#include <Components/Gfx/Gfx.h>
#include <bits/unique_ptr.h>
#include <queue.h>
#include <Components/Battery/BatteryController.h>
#include <Components/Brightness/BrightnessController.h>
#include <Components/Ble/BleController.h>
#include <Components/DateTime/DateTimeController.h>
#include "../drivers/Cst816s.h"
#include "components/gfx/Gfx.h"
#include "components/battery/BatteryController.h"
#include "components/brightness/BrightnessController.h"
#include "components/ble/BleController.h"
#include "components/datetime/DateTimeController.h"
#include "components/ble/NotificationManager.h"
#include "components/firmwarevalidator/FirmwareValidator.h"
#include "drivers/Cst816s.h"
#include "LittleVgl.h"
#include <date/date.h>
#include <DisplayApp/Screens/Clock.h>
#include "displayapp/screens/Clock.h"
#include "displayapp/screens/Modal.h"
#include <drivers/Watchdog.h>
#include <DisplayApp/Screens/Modal.h>
#include <Components/Ble/NotificationManager.h>
#include <Components/FirmwareValidator/FirmwareValidator.h>
#include "TouchEvents.h"
#include "Apps.h"

View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View file

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

Before

Width:  |  Height:  |  Size: 2 KiB

After

Width:  |  Height:  |  Size: 2 KiB

View file

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

Before

Width:  |  Height:  |  Size: 2 KiB

After

Width:  |  Height:  |  Size: 2 KiB

View file

Before

Width:  |  Height:  |  Size: 2 KiB

After

Width:  |  Height:  |  Size: 2 KiB

View file

Before

Width:  |  Height:  |  Size: 2 KiB

After

Width:  |  Height:  |  Size: 2 KiB

View file

Before

Width:  |  Height:  |  Size: 2 KiB

After

Width:  |  Height:  |  Size: 2 KiB

View file

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View file

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View file

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View file

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View file

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View file

@ -1,5 +1,5 @@
#include <libs/lvgl/lvgl.h>
#include <DisplayApp/DisplayApp.h>
#include <displayapp/DisplayApp.h>
#include <functional>
#include "ApplicationList.h"
#include "Tile.h"

View file

@ -1,13 +1,14 @@
#pragma once
#include <functional>
#include <vector>
#include <Components/Ble/NimbleController.h>
#include "components/ble/NimbleController.h"
#include "Screen.h"
#include "Label.h"
#include "ScreenList.h"
#include "Gauge.h"
#include "Meter.h"
#include <functional>
namespace Pinetime {
namespace Applications {

View file

@ -1,7 +1,7 @@
#pragma once
#include <libs/lvgl/src/lv_core/lv_obj.h>
#include <Components/Brightness/BrightnessController.h>
#include "components/brightness/BrightnessController.h"
#include "Screen.h"
namespace Pinetime {

View file

@ -1,6 +1,7 @@
#include <cstdio>
#include <libs/date/includes/date/date.h>
#include <Components/DateTime/DateTimeController.h>
#include "components/datetime/DateTimeController.h"
#include <libs/lvgl/lvgl.h>
#include "Clock.h"
#include "../DisplayApp.h"

View file

@ -2,12 +2,13 @@
#include <cstdint>
#include <chrono>
#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/Battery/BatteryController.h>
#include <Components/Ble/BleController.h>
#include "components/battery/BatteryController.h"
#include "components/ble/BleController.h"
namespace Pinetime {
namespace Applications {

View file

@ -2,11 +2,12 @@
#include <cstdint>
#include <chrono>
#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/BleController.h>
#include "components/ble/BleController.h"
namespace Pinetime {
namespace Applications {

View file

@ -2,7 +2,7 @@
#include "FirmwareValidation.h"
#include "../DisplayApp.h"
#include "../../Version.h"
#include "../../Components/FirmwareValidator/FirmwareValidator.h"
#include "components/firmwarevalidator/FirmwareValidator.h"
using namespace Pinetime::Applications::Screens;
extern lv_font_t jetbrains_mono_extrabold_compressed;

Some files were not shown because too many files have changed in this diff Show more