aem_app_id.h 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. #ifndef _AEM_APP_ID_H_
  2. #define _AEM_APP_ID_H_
  3. #include <stdint.h>
  4. #include <stdbool.h>
  5. #include "string.h"
  6. typedef enum
  7. {
  8. AEM_APP_ID_BEGIN,
  9. // show in applist
  10. AEM_APP_ID_LAUNCH,
  11. AEM_APP_ID_SETTINGS,
  12. AEM_APP_ID_WORKOUT,
  13. AEM_APP_ID_WORKOUT_RECORD,
  14. AEM_APP_ID_ACTIVITY,
  15. AEM_APP_ID_IN_OUT_POWER,
  16. AEM_APP_ID_PROFILE_PHOTO,
  17. AEM_APP_ID_PHONE,
  18. AEM_APP_ID_HEART_RATE,
  19. AEM_APP_ID_SPO2,
  20. AEM_APP_ID_BREATHE,
  21. AEM_APP_ID_FEMALE_HEALTH,
  22. AEM_APP_ID_ALARM,
  23. AEM_APP_ID_TIMER,
  24. AEM_APP_ID_STOPWATCH,
  25. AEM_APP_ID_WEATHER,
  26. AEM_APP_ID_SLEEP,
  27. AEM_APP_ID_STRESS,
  28. AEM_APP_ID_SHUTTER,
  29. AEM_APP_ID_MUSIC,
  30. AEM_APP_ID_CALENDAR,
  31. AEM_APP_ID_FIND_PHONE,
  32. AEM_APP_ID_CALCULATOR,
  33. AEM_APP_ID_FLASHLIGHT,
  34. AEM_APP_ID_COMPASS,
  35. AEM_APP_ID_BAROMETER,
  36. AEM_APP_ID_SIRI,
  37. AEM_APP_ID_ALIPAY,
  38. AEM_APP_ID_WXPAY,
  39. AEM_APP_ID_RECORDER,
  40. AEM_APP_ID_SHOW_LOGO,
  41. /*
  42. User defined
  43. */
  44. // AEM_APP_ID_CUSTOM_TEST,
  45. // don't show in applist
  46. AEM_APP_ID_MAX,
  47. AEM_APP_ID_APP_LIST = 200,
  48. AEM_APP_ID_TEST,
  49. AEM_APP_ID_WIDGET_TEST,
  50. AEM_APP_ID_CLOCK_TEST,
  51. AEM_APP_ID_OTA,
  52. AEM_APP_ID_POWER_SAVING,
  53. AEM_APP_ID_BOOT_BINDING,
  54. AEM_APP_ID_AOD_WATCHFACE,
  55. AEM_APP_ID_POP_WINDOW,
  56. AEM_APP_ID_POWER_ON,
  57. AEM_APP_ID_POWER_OFF,
  58. AEM_APP_ID_MINI_CHARGER,
  59. AEM_APP_ID_FACTORY,
  60. AEM_APP_ID_END,
  61. } aem_app_id_e;
  62. #define AEM_APP_LAUNCH "launch"
  63. #define AEM_APP_APPLIST "app_list"
  64. #define AEM_APP_SETTINGS "settings"
  65. #define AEM_APP_ACTIVITY "activity"
  66. #define AEM_APP_WORKOUT "workout"
  67. #define AEM_APP_WORKOUT_RECORD "workout_record"
  68. #define AEM_APP_IN_OUT_POWER "in_out_power"
  69. #define AEM_APP_PROFILE_PHOTO "profile_photo"
  70. #define AEM_APP_HEARTRATE "heartrate"
  71. #define AEM_APP_SPO2 "spo2"
  72. #define AEM_APP_FEMALE_HEALTH "female_health"
  73. #define AEM_APP_OTA "ota"
  74. #define AEM_APP_STRESS "stress"
  75. #define AEM_APP_STOPWATCH "stopwatch"
  76. #define AEM_APP_POWER_SAVING "power_saving"
  77. #define AEM_APP_BREATHE "breathe"
  78. #define AEM_APP_SLEEP "sleep"
  79. #define AEM_APP_ALARM "alarm"
  80. #define AEM_APP_TIMER "timer"
  81. #define AEM_APP_BAROMETER "barometer"
  82. #define AEM_APP_BOOT_BINDING "boot_binding"
  83. #define AEM_APP_CUSTOM_TEST "custom_test"
  84. #define AEM_APP_POP_WINDOW "pop_window"
  85. #define AEM_APP_AOD_WATCHFACE "aod_watchface"
  86. #define AEM_APP_MINI_CHARGER "mini_charger"
  87. #define IS_AEM_APPID_VALID(a) ((AEM_APP_ID_BEGIN < (a)) && ((a) < AEM_APP_ID_END))
  88. #endif