2021-06-06 13:56:03 +00:00
|
|
|
#pragma once
|
2022-12-18 17:14:36 +00:00
|
|
|
#include <cstdint>
|
2021-06-06 13:56:03 +00:00
|
|
|
namespace Pinetime {
|
|
|
|
namespace System {
|
2022-12-18 17:14:36 +00:00
|
|
|
enum class Messages : uint8_t {
|
2022-05-09 15:16:08 +00:00
|
|
|
GoToSleep,
|
|
|
|
GoToRunning,
|
|
|
|
TouchWakeUp,
|
|
|
|
OnNewTime,
|
|
|
|
OnNewNotification,
|
|
|
|
OnTimerDone,
|
|
|
|
OnNewCall,
|
|
|
|
BleConnected,
|
|
|
|
UpdateTimeOut,
|
|
|
|
BleFirmwareUpdateStarted,
|
|
|
|
BleFirmwareUpdateFinished,
|
|
|
|
OnTouchEvent,
|
|
|
|
HandleButtonEvent,
|
|
|
|
HandleButtonTimerEvent,
|
|
|
|
OnDisplayTaskSleeping,
|
|
|
|
EnableSleeping,
|
|
|
|
DisableSleeping,
|
|
|
|
OnNewDay,
|
|
|
|
OnNewHour,
|
|
|
|
OnNewHalfHour,
|
|
|
|
OnChargingEvent,
|
|
|
|
OnPairing,
|
|
|
|
SetOffAlarm,
|
|
|
|
StopRinging,
|
|
|
|
MeasureBatteryTimerExpired,
|
|
|
|
BatteryPercentageUpdated,
|
2022-10-03 10:15:37 +00:00
|
|
|
LowBattery,
|
2022-05-09 15:16:08 +00:00
|
|
|
StartFileTransfer,
|
|
|
|
StopFileTransfer,
|
|
|
|
BleRadioEnableToggle
|
|
|
|
};
|
|
|
|
}
|
2021-06-06 13:56:03 +00:00
|
|
|
}
|