Fix DisplayAppRecovery : fix include error by forward declaring Controllers in header file.
This commit is contained in:
parent
cf20b02c09
commit
6356c7f276
|
@ -5,6 +5,7 @@
|
||||||
#include <components/rle/RleDecoder.h>
|
#include <components/rle/RleDecoder.h>
|
||||||
#include <touchhandler/TouchHandler.h>
|
#include <touchhandler/TouchHandler.h>
|
||||||
#include "displayapp/icons/infinitime/infinitime-nb.c"
|
#include "displayapp/icons/infinitime/infinitime-nb.c"
|
||||||
|
#include "components/ble/BleController.h"
|
||||||
|
|
||||||
using namespace Pinetime::Applications;
|
using namespace Pinetime::Applications;
|
||||||
|
|
||||||
|
|
|
@ -6,32 +6,38 @@
|
||||||
#include <bits/unique_ptr.h>
|
#include <bits/unique_ptr.h>
|
||||||
#include <queue.h>
|
#include <queue.h>
|
||||||
#include "components/gfx/Gfx.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 "drivers/Cst816s.h"
|
||||||
#include <date/date.h>
|
#include <date/date.h>
|
||||||
#include <drivers/Watchdog.h>
|
#include <drivers/Watchdog.h>
|
||||||
#include <components/heartrate/HeartRateController.h>
|
|
||||||
#include <components/motion/MotionController.h>
|
|
||||||
#include <components/motor/MotorController.h>
|
#include <components/motor/MotorController.h>
|
||||||
#include <components/settings/Settings.h>
|
|
||||||
#include "TouchEvents.h"
|
#include "TouchEvents.h"
|
||||||
#include "Apps.h"
|
#include "Apps.h"
|
||||||
#include "Messages.h"
|
#include "Messages.h"
|
||||||
#include "DummyLittleVgl.h"
|
#include "DummyLittleVgl.h"
|
||||||
#include "components/timer/TimerController.h"
|
|
||||||
|
|
||||||
namespace Pinetime {
|
namespace Pinetime {
|
||||||
|
namespace Drivers {
|
||||||
|
class St7789;
|
||||||
|
class Cst816S;
|
||||||
|
class WatchdogView;
|
||||||
|
}
|
||||||
|
namespace Controllers {
|
||||||
|
class Settings;
|
||||||
|
class Battery;
|
||||||
|
class Ble;
|
||||||
|
class DateTime;
|
||||||
|
class NotificationManager;
|
||||||
|
class HeartRateController;
|
||||||
|
class MotionController;
|
||||||
|
class TouchHandler;
|
||||||
|
class MotorController;
|
||||||
|
class TimerController;
|
||||||
|
}
|
||||||
|
|
||||||
namespace System {
|
namespace System {
|
||||||
class SystemTask;
|
class SystemTask;
|
||||||
};
|
};
|
||||||
namespace Controllers {
|
|
||||||
class TouchHandler;
|
|
||||||
}
|
|
||||||
namespace Applications {
|
namespace Applications {
|
||||||
class DisplayApp {
|
class DisplayApp {
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in New Issue