__BEGIN_DECLS
/* Define pressure levels usable by OSThermalPressureLevel */
+#if TARGET_OS_IPHONE
+typedef enum {
+ kOSThermalPressureLevelNominal = 0,
+ kOSThermalPressureLevelLight = 10,
+ kOSThermalPressureLevelModerate = 20,
+ kOSThermalPressureLevelHeavy = 30,
+ kOSThermalPressureLevelTrapping = 40,
+ kOSThermalPressureLevelSleeping = 50
+} OSThermalPressureLevel;
+#else
typedef enum {
kOSThermalPressureLevelNominal = 0,
kOSThermalPressureLevelModerate,
kOSThermalPressureLevelTrapping,
kOSThermalPressureLevelSleeping
} OSThermalPressureLevel;
+#endif
/*
** External notify(3) string for thermal pressure level notification