X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=blobdiff_plain;f=src%2Fcfg.h;h=9860aa1503b35337f1cdcfa743a46c576ffca4d3;hp=496940f5069109f84e5a4f9d722bd2fbf66676fb;hb=c1e20f2631a1249720e9c75d753eacfcb0f6c7b9;hpb=d280db5907574f0d29458dd5d301ce030a13189b diff --git a/src/cfg.h b/src/cfg.h index 496940f..9860aa1 100644 --- a/src/cfg.h +++ b/src/cfg.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2014 jeanfi@gmail.com + * Copyright (C) 2010-2016 jeanfi@gmail.com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -76,10 +76,10 @@ void config_cleanup(void); GdkRGBA *config_get_sensor_color(const char *); void config_set_sensor_color(const char *, const GdkRGBA *); -bool config_get_sensor_alarm_high_threshold(const char *, double *); +bool config_get_sensor_alarm_high_threshold(const char *, double *, double); void config_set_sensor_alarm_high_threshold(const char *, int); -bool config_get_sensor_alarm_low_threshold(const char *, double *); +bool config_get_sensor_alarm_low_threshold(const char *, double *, double); void config_set_sensor_alarm_low_threshold(const char *, int); bool config_get_sensor_alarm_enabled(const char *);