Added a default high threshold for temperature: added missing header file
[psensor.git] / src / cfg.h
index 2aa5a3e..bbdfd77 100644 (file)
--- a/src/cfg.h
+++ b/src/cfg.h
@@ -87,10 +87,10 @@ void config_cleanup(void);
 GdkRGBA *config_get_sensor_color(const char *);
 void config_set_sensor_color(const char *, const GdkRGBA *);
 
-int config_get_sensor_alarm_high_threshold(const char *);
+bool config_get_sensor_alarm_high_threshold(const char *, double *);
 void config_set_sensor_alarm_high_threshold(const char *, int);
 
-int config_get_sensor_alarm_low_threshold(const char *);
+bool config_get_sensor_alarm_low_threshold(const char *, double *);
 void config_set_sensor_alarm_low_threshold(const char *, int);
 
 bool config_get_sensor_alarm_enabled(const char *);
@@ -148,6 +148,8 @@ void config_set_atiadlsdk_enable(bool);
 
 int config_get_sensor_unit(void);
 
+double config_get_default_high_threshold_temperature(void);
+
 /*
  * Returns the user directory containing psensor data (configuration
  * and log).