e89e5e4d66
The build-time selection PR updated the order, this restores what it was before.
71 lines
1.6 KiB
C++
71 lines
1.6 KiB
C++
#pragma once
|
|
#include <cstddef>
|
|
|
|
namespace Pinetime {
|
|
namespace Applications {
|
|
enum class Apps {
|
|
None,
|
|
Launcher,
|
|
Clock,
|
|
SysInfo,
|
|
FirmwareUpdate,
|
|
FirmwareValidation,
|
|
NotificationsPreview,
|
|
Notifications,
|
|
Timer,
|
|
Alarm,
|
|
FlashLight,
|
|
BatteryInfo,
|
|
Music,
|
|
Paint,
|
|
Paddle,
|
|
Twos,
|
|
HeartRate,
|
|
Navigation,
|
|
StopWatch,
|
|
Metronome,
|
|
Motion,
|
|
Steps,
|
|
PassKey,
|
|
QuickSettings,
|
|
Settings,
|
|
SettingWatchFace,
|
|
SettingTimeFormat,
|
|
SettingDisplay,
|
|
SettingWakeUp,
|
|
SettingSteps,
|
|
SettingSetDateTime,
|
|
SettingChimes,
|
|
SettingShakeThreshold,
|
|
SettingBluetooth,
|
|
Error,
|
|
Weather
|
|
};
|
|
|
|
template <Apps>
|
|
struct AppTraits {};
|
|
|
|
template <Apps... As>
|
|
struct TypeList {
|
|
static constexpr size_t Count = sizeof...(As);
|
|
};
|
|
|
|
using UserAppTypes = TypeList<Apps::StopWatch,
|
|
Apps::Alarm,
|
|
Apps::Timer,
|
|
Apps::Steps,
|
|
Apps::HeartRate,
|
|
Apps::Music,
|
|
Apps::Paint,
|
|
Apps::Paddle,
|
|
Apps::Twos,
|
|
Apps::Metronome,
|
|
Apps::Navigation
|
|
/*
|
|
Apps::Weather,
|
|
Apps::Motion
|
|
*/
|
|
>;
|
|
}
|
|
}
|