319030d9e1
Implements 'Airplane mode' feature to disable and enable bluetooth/ble Adds airplaneMode as a non-persisted setting Adds a setting menu for switching airplane mode on and off Displays an airplane symbol on the Digital watch face and the PineTimeStyle watch face when airplane mode is enabled Always enables bluetooth/ble on boot (disable airplane mode) Alphabetizes the settings menu options Style cleanups Closes #632
36 lines
777 B
C++
36 lines
777 B
C++
#pragma once
|
|
|
|
namespace Pinetime {
|
|
namespace System {
|
|
enum class Messages {
|
|
GoToSleep,
|
|
GoToRunning,
|
|
TouchWakeUp,
|
|
OnNewTime,
|
|
OnNewNotification,
|
|
OnTimerDone,
|
|
OnNewCall,
|
|
BleConnected,
|
|
UpdateTimeOut,
|
|
BleFirmwareUpdateStarted,
|
|
BleFirmwareUpdateFinished,
|
|
OnTouchEvent,
|
|
HandleButtonEvent,
|
|
HandleButtonTimerEvent,
|
|
OnDisplayTaskSleeping,
|
|
EnableSleeping,
|
|
DisableSleeping,
|
|
OnNewDay,
|
|
OnChargingEvent,
|
|
OnPairing,
|
|
SetOffAlarm,
|
|
StopRinging,
|
|
MeasureBatteryTimerExpired,
|
|
BatteryPercentageUpdated,
|
|
StartFileTransfer,
|
|
StopFileTransfer,
|
|
AirplaneModeToggle
|
|
};
|
|
}
|
|
}
|