diff options
| author | okaestne <git@oliver-kaestner.de> | 2020-11-15 14:05:51 (GMT) |
|---|---|---|
| committer | okaestne <git@oliver-kaestner.de> | 2020-11-16 00:35:45 (GMT) |
| commit | 1516573df46239ea76b7a8b142a6b719668cb26d (patch) | |
| tree | b11259f8ca0e10e3d1e2da5df827703ac0294317 /src/components/ble/NimbleController.h | |
| parent | c3475b92fad2eff4b2a43e5343863d11fe4caca3 (diff) | |
Include cleanup: components
Diffstat (limited to 'src/components/ble/NimbleController.h')
| -rw-r--r-- | src/components/ble/NimbleController.h | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/src/components/ble/NimbleController.h b/src/components/ble/NimbleController.h index 8ddec1f..914f11e 100644 --- a/src/components/ble/NimbleController.h +++ b/src/components/ble/NimbleController.h @@ -2,24 +2,35 @@ #include <cstdint> -#include "AlertNotificationService.h" +#define min // workaround: nimble's min/max macros conflict with libstdc++ +#define max +#include <host/ble_gap.h> +#undef max +#undef min #include "AlertNotificationClient.h" -#include "DeviceInformationService.h" +#include "AlertNotificationService.h" +#include "BatteryInformationService.h" #include "CurrentTimeClient.h" -#include "DfuService.h" #include "CurrentTimeService.h" -#include "MusicService.h" -#include "BatteryInformationService.h" +#include "DeviceInformationService.h" +#include "DfuService.h" #include "ImmediateAlertService.h" +#include "MusicService.h" #include "ServiceDiscovery.h" -#include <host/ble_gap.h> namespace Pinetime { namespace Drivers { class SpiNorFlash; } + + namespace System { + class SystemTask; + } + namespace Controllers { + class Ble; class DateTime; + class NotificationManager; class NimbleController { |
