2020-08-14 09:46:37 +02:00
|
|
|
#pragma once
|
2023-10-23 20:12:34 +02:00
|
|
|
#include <cstddef>
|
2020-08-14 09:46:37 +02:00
|
|
|
namespace Pinetime {
|
|
|
|
namespace Applications {
|
2021-04-09 21:16:21 +02:00
|
|
|
enum class Apps {
|
2021-04-18 20:28:14 +03:00
|
|
|
None,
|
|
|
|
Launcher,
|
|
|
|
Clock,
|
|
|
|
SysInfo,
|
|
|
|
FirmwareUpdate,
|
|
|
|
FirmwareValidation,
|
|
|
|
NotificationsPreview,
|
|
|
|
Notifications,
|
2021-05-20 20:43:54 +02:00
|
|
|
Timer,
|
2021-09-10 18:40:13 -04:00
|
|
|
Alarm,
|
2021-04-18 20:28:14 +03:00
|
|
|
FlashLight,
|
|
|
|
BatteryInfo,
|
|
|
|
Music,
|
|
|
|
Paint,
|
|
|
|
Paddle,
|
|
|
|
Twos,
|
|
|
|
HeartRate,
|
|
|
|
Navigation,
|
|
|
|
StopWatch,
|
2021-06-12 09:06:58 -04:00
|
|
|
Metronome,
|
2021-04-18 20:28:14 +03:00
|
|
|
Motion,
|
2021-04-26 21:29:48 +01:00
|
|
|
Steps,
|
2021-10-30 13:02:39 -05:00
|
|
|
PassKey,
|
2021-04-18 20:28:14 +03:00
|
|
|
QuickSettings,
|
|
|
|
Settings,
|
|
|
|
SettingWatchFace,
|
|
|
|
SettingTimeFormat,
|
|
|
|
SettingDisplay,
|
2021-04-26 21:29:48 +01:00
|
|
|
SettingWakeUp,
|
2021-06-24 19:15:23 +02:00
|
|
|
SettingSteps,
|
2023-01-14 14:50:21 -05:00
|
|
|
SettingSetDateTime,
|
2021-11-07 10:50:33 +00:00
|
|
|
SettingChimes,
|
2021-09-27 02:52:02 +00:00
|
|
|
SettingShakeThreshold,
|
2022-04-02 16:03:20 +03:00
|
|
|
SettingBluetooth,
|
2023-10-23 20:12:34 +02:00
|
|
|
Error,
|
|
|
|
Weather
|
|
|
|
};
|
|
|
|
template <Apps>
|
|
|
|
struct AppTraits {};
|
|
|
|
|
|
|
|
template<Apps ...As>
|
|
|
|
struct TypeList {
|
|
|
|
static constexpr size_t Count = sizeof...(As);
|
2021-04-04 03:08:51 +01:00
|
|
|
};
|
2023-10-23 20:12:34 +02:00
|
|
|
|
|
|
|
using UserAppTypes = TypeList<Apps::Alarm,
|
|
|
|
Apps::HeartRate,
|
|
|
|
Apps::Paint,
|
|
|
|
Apps::Metronome,
|
|
|
|
Apps::Music,
|
|
|
|
Apps::Navigation,
|
|
|
|
Apps::Paddle,
|
|
|
|
Apps::Steps,
|
|
|
|
Apps::StopWatch,
|
|
|
|
Apps::Timer,
|
|
|
|
Apps::Twos
|
|
|
|
/*
|
|
|
|
Apps::Weather,
|
|
|
|
Apps::Motion
|
|
|
|
*/
|
|
|
|
>;
|
2020-08-14 09:46:37 +02:00
|
|
|
}
|
2020-12-03 20:03:45 +05:30
|
|
|
}
|