Loading...
include/libkern/OSThermalNotification.h Libc-825.26 Libc-997.1.1
--- Libc/Libc-825.26/include/libkern/OSThermalNotification.h
+++ Libc/Libc-997.1.1/include/libkern/OSThermalNotification.h
@@ -76,6 +76,15 @@
 #define OSThermalNotificationLevelUrgent OSThermalNotificationLevelAppTerminate
 #define OSThermalNotificationLevelCritical OSThermalNotificationLevelDeviceRestart
 
+/* Define pressure levels usable by OSThermalPressureLevel */
+typedef enum {
+	kOSThermalPressureLevelNominal = 0,
+	kOSThermalPressureLevelModerate,
+	kOSThermalPressureLevelHeavy,
+	kOSThermalPressureLevelTrapping,
+	kOSThermalPressureLevelSleeping
+} OSThermalPressureLevel;
+
 /*
 ** Simple polling interface to detect current thermal level
 */
@@ -88,6 +97,25 @@
 
 extern const char * const kOSThermalNotificationName __OSX_AVAILABLE_STARTING(__MAC_NA, __IPHONE_2_0);
 
+/*
+** External notify(3) string for alerting user of a thermal condition
+*/
+
+extern const char * const kOSThermalNotificationAlert __OSX_AVAILABLE_STARTING(__MAC_NA, __IPHONE_6_0);
+
+/*
+** External notify(3) string for notifying system the options taken to resolve thermal condition
+*/
+
+extern const char * const kOSThermalNotificationDecision __OSX_AVAILABLE_STARTING(__MAC_NA, __IPHONE_6_0);
+
+/*
+** External notify(3) string for thermal pressure level notification
+*/
+
+extern const char * const kOSThermalNotificationPressureLevelName __OSX_AVAILABLE_STARTING(__MAC_NA, __IPHONE_7_0);
+
+
 __END_DECLS
 
 #endif /* _OSTHERMALNOTIFICATION_H_ */