12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- #ifndef _AEM_APP_ID_H_
- #define _AEM_APP_ID_H_
- #include <stdint.h>
- #include <stdbool.h>
- #include "string.h"
- typedef enum
- {
- AEM_APP_ID_BEGIN,
- // show in applist
- AEM_APP_ID_LAUNCH,
- AEM_APP_ID_SETTINGS,
- AEM_APP_ID_WORKOUT,
- AEM_APP_ID_WORKOUT_RECORD,
- AEM_APP_ID_ACTIVITY,
- AEM_APP_ID_IN_OUT_POWER,
- AEM_APP_ID_PROFILE_PHOTO,
- AEM_APP_ID_PHONE,
- AEM_APP_ID_HEART_RATE,
- AEM_APP_ID_SPO2,
- AEM_APP_ID_BREATHE,
- AEM_APP_ID_FEMALE_HEALTH,
- AEM_APP_ID_ALARM,
- AEM_APP_ID_TIMER,
- AEM_APP_ID_STOPWATCH,
- AEM_APP_ID_SET_TIME_DATE,
- AEM_APP_ID_WEATHER,
- AEM_APP_ID_SLEEP,
- AEM_APP_ID_STRESS,
- AEM_APP_ID_SHUTTER,
- AEM_APP_ID_MUSIC,
- AEM_APP_ID_CALENDAR,
- AEM_APP_ID_FIND_PHONE,
- AEM_APP_ID_CALCULATOR,
- AEM_APP_ID_FLASHLIGHT,
- AEM_APP_ID_COMPASS,
- AEM_APP_ID_BAROMETER,
- AEM_APP_ID_SIRI,
- AEM_APP_ID_ALIPAY,
- AEM_APP_ID_WXPAY,
- AEM_APP_ID_RECORDER,
- AEM_APP_ID_SHOW_LOGO,
- /*
- User defined
- */
- // AEM_APP_ID_CUSTOM_TEST,
- // don't show in applist
- AEM_APP_ID_MAX,
- AEM_APP_ID_APP_LIST = 200,
- AEM_APP_ID_TEST,
- AEM_APP_ID_WIDGET_TEST,
- AEM_APP_ID_CLOCK_TEST,
- AEM_APP_ID_OTA,
- AEM_APP_ID_POWER_SAVING,
- AEM_APP_ID_BOOT_BINDING,
- AEM_APP_ID_AOD_WATCHFACE,
- AEM_APP_ID_POP_WINDOW,
- AEM_APP_ID_POWER_ON,
- AEM_APP_ID_POWER_OFF,
- AEM_APP_ID_MINI_CHARGER,
- AEM_APP_ID_FACTORY,
- AEM_APP_ID_END,
- } aem_app_id_e;
- #define AEM_APP_LAUNCH "launch"
- #define AEM_APP_APPLIST "app_list"
- #define AEM_APP_SETTINGS "settings"
- #define AEM_APP_ACTIVITY "activity"
- #define AEM_APP_WORKOUT "workout"
- #define AEM_APP_WORKOUT_RECORD "workout_record"
- #define AEM_APP_IN_OUT_POWER "in_out_power"
- #define AEM_APP_PROFILE_PHOTO "profile_photo"
- #define AEM_APP_HEARTRATE "heartrate"
- #define AEM_APP_SPO2 "spo2"
- #define AEM_APP_FEMALE_HEALTH "female_health"
- #define AEM_APP_OTA "ota"
- #define AEM_APP_STRESS "stress"
- #define AEM_APP_STOPWATCH "stopwatch"
- #define AEM_APP_POWER_SAVING "power_saving"
- #define AEM_APP_BREATHE "breathe"
- #define AEM_APP_SLEEP "sleep"
- #define AEM_APP_ALARM "alarm"
- #define AEM_APP_TIMER "timer"
- #define AEM_APP_TIME_DATE "time_date"
- #define AEM_APP_BAROMETER "barometer"
- #define AEM_APP_BOOT_BINDING "boot_binding"
- #define AEM_APP_CUSTOM_TEST "custom_test"
- #define AEM_APP_POP_WINDOW "pop_window"
- #define AEM_APP_AOD_WATCHFACE "aod_watchface"
- #define AEM_APP_MINI_CHARGER "mini_charger"
- #define IS_AEM_APPID_VALID(a) ((AEM_APP_ID_BEGIN < (a)) && ((a) < AEM_APP_ID_END))
- #endif
|