package io.rebble.libpebblecommon.locker import io.rebble.libpebblecommon.SystemAppIDs import io.rebble.libpebblecommon.metadata.WatchType import kotlin.uuid.Uuid enum class SystemApps( val uuid: Uuid, val displayName: String, val type: AppType, val compatiblePlatforms: List, val defaultOrder: Int, ) { // Apps Settings(SystemAppIDs.SETTINGS_APP_UUID, "Settings", AppType.Watchapp, WatchType.entries, defaultOrder = -10), Music(SystemAppIDs.MUSIC_APP_UUID, "Music", AppType.Watchapp, WatchType.entries, defaultOrder = -9), Notifications(SystemAppIDs.NOTIFICATIONS_APP_UUID, "Notifications", AppType.Watchapp, WatchType.entries, defaultOrder = -8), Alarms(SystemAppIDs.ALARMS_APP_UUID, "Alarms", AppType.Watchapp, WatchType.entries, defaultOrder = -7), Weather(SystemAppIDs.WEATHER_APP_UUID, "Weather", AppType.Watchapp, WatchType.entries, defaultOrder = -6), Health(SystemAppIDs.HEALTH_APP_UUID, "Health", AppType.Watchapp, ALL_EXCEPT_APLITE, defaultOrder = -5), Workout(SystemAppIDs.WORKOUT_APP_UUID, "Workout", AppType.Watchapp, ALL_EXCEPT_APLITE, defaultOrder = -4), Watchfaces(SystemAppIDs.WATCHFACES_APP_UUID, "Watchfaces", AppType.Watchapp, WatchType.entries, defaultOrder = -3), Timeline(SystemAppIDs.TIMELINE_MENU_ENTRY_UUID, "Timeline", AppType.Watchapp, WatchType.entries, defaultOrder = 100), // Faces Tictoc(SystemAppIDs.TICTOC_APP_UUID, "Tictoc", AppType.Watchface, WatchType.entries, defaultOrder = -2), Kickstart(SystemAppIDs.KICKSTART_APP_UUID, "Kickstart", AppType.Watchface, ALL_EXCEPT_APLITE, defaultOrder = -1), } private val ALL_EXCEPT_APLITE = WatchType.entries.filter { it != WatchType.APLITE }