Application selection at build time
Fix DisplayAppRecovery so it builds with -std=c++20.
This commit is contained in:
parent
63e0c4f4ef
commit
02af09d943
3 changed files with 18 additions and 2 deletions
|
|
@ -121,3 +121,12 @@ void DisplayApp::PushMessage(Display::Messages msg) {
|
|||
|
||||
void DisplayApp::Register(Pinetime::System::SystemTask* /*systemTask*/) {
|
||||
}
|
||||
|
||||
void DisplayApp::Register(Pinetime::Controllers::WeatherService* /*weatherService*/) {
|
||||
}
|
||||
|
||||
void DisplayApp::Register(Pinetime::Controllers::MusicService* /*musicService*/) {
|
||||
}
|
||||
|
||||
void DisplayApp::Register(Pinetime::Controllers::NavigationService* /*NavigationService*/) {
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,6 +34,9 @@ namespace Pinetime {
|
|||
class AlarmController;
|
||||
class BrightnessController;
|
||||
class FS;
|
||||
class WeatherService;
|
||||
class MusicService;
|
||||
class NavigationService;
|
||||
}
|
||||
|
||||
namespace System {
|
||||
|
|
@ -66,6 +69,10 @@ namespace Pinetime {
|
|||
|
||||
void PushMessage(Pinetime::Applications::Display::Messages msg);
|
||||
void Register(Pinetime::System::SystemTask* systemTask);
|
||||
void Register(Pinetime::Controllers::WeatherService* weatherService);
|
||||
void Register(Pinetime::Controllers::MusicService* musicService);
|
||||
void Register(Pinetime::Controllers::NavigationService* NavigationService);
|
||||
|
||||
|
||||
private:
|
||||
TaskHandle_t taskHandle;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue