Skip to content

Commit 298f0f4

Browse files
committed
Merge branch 'restructure_includes' of https://github.com/NeroBurner/InfiniTime into NeroBurner-restructure_includes
# Conflicts: # doc/contribute.md # src/displayapp/screens/BatteryInfo.h
2 parents d5e8e3c + 3a41bff commit 298f0f4

148 files changed

Lines changed: 263 additions & 252 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

doc/coding-convention.md

Lines changed: 1 addition & 0 deletions

src/BootloaderVersion.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#pragma once
22

3+
#include <cstdint>
4+
#include <cstddef>
5+
36
namespace Pinetime {
47
class BootloaderVersion {
58
public:

src/Version.h.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
@VERSION_EDIT_WARNING@
44

5+
#include <cstdint>
6+
57
namespace Pinetime {
68
class Version {
79
public:

src/components/alarm/AlarmController.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
You should have received a copy of the GNU General Public License
1616
along with this program. If not, see <https://www.gnu.org/licenses/>.
1717
*/
18-
#include "AlarmController.h"
18+
#include "components/alarm/AlarmController.h"
1919
#include "systemtask/SystemTask.h"
2020
#include "app_timer.h"
2121
#include "task.h"

src/components/battery/BatteryController.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "BatteryController.h"
1+
#include "components/battery/BatteryController.h"
22
#include "drivers/PinMap.h"
33
#include <hal/nrf_gpio.h>
44
#include <nrfx_saadc.h>

src/components/ble/AlertNotificationClient.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#include "AlertNotificationClient.h"
1+
#include "components/ble/AlertNotificationClient.h"
22
#include <algorithm>
3-
#include "NotificationManager.h"
3+
#include "components/ble/NotificationManager.h"
44
#include "systemtask/SystemTask.h"
55

66
using namespace Pinetime::Controllers;

src/components/ble/AlertNotificationClient.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include <host/ble_gap.h>
88
#undef max
99
#undef min
10-
#include "BleClient.h"
10+
#include "components/ble/BleClient.h"
1111

1212
namespace Pinetime {
1313

src/components/ble/AlertNotificationService.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
#include "AlertNotificationService.h"
1+
#include "components/ble/AlertNotificationService.h"
22
#include <hal/nrf_rtc.h>
33
#include <cstring>
44
#include <algorithm>
5-
#include "NotificationManager.h"
5+
#include "components/ble/NotificationManager.h"
66
#include "systemtask/SystemTask.h"
77

88
using namespace Pinetime::Controllers;

src/components/ble/BatteryInformationService.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
#include "components/ble/BatteryInformationService.h"
12
#include <nrf_log.h>
2-
#include "BatteryInformationService.h"
33
#include "components/battery/BatteryController.h"
44

55
using namespace Pinetime::Controllers;

src/components/ble/BleController.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "BleController.h"
1+
#include "components/ble/BleController.h"
22

33
using namespace Pinetime::Controllers;
44

0 commit comments

Comments
 (0)