X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fcfg.h;h=6ef7eae1f2864299a74bf9d96216b5e3addbecf1;hb=51450a36b7143fe230197dfa89b5fd072af7421c;hp=bbdfd774a35b9740cc96400e34fde4849f389b71;hpb=9a621eed94d4050d302915e00d56c882a8c783dc;p=psensor.git diff --git a/src/cfg.h b/src/cfg.h index bbdfd77..6ef7eae 100644 --- a/src/cfg.h +++ b/src/cfg.h @@ -47,8 +47,6 @@ struct config { /* Position of the sensors list table */ enum sensorlist_position sensorlist_position; - bool window_decoration_enabled; - bool window_keep_below_enabled; bool window_restore_enabled; /* Last saved position of the window. */ int window_x; @@ -71,8 +69,6 @@ struct config { int hide_on_startup; - enum temperature_unit temperature_unit; - bool slog_enabled; int slog_interval; }; @@ -146,10 +142,17 @@ void config_set_nvctrl_enable(bool); bool config_is_atiadlsdk_enabled(void); void config_set_atiadlsdk_enable(bool); -int config_get_sensor_unit(void); +enum temperature_unit config_get_temperature_unit(void); +void config_set_temperature_unit(enum temperature_unit); double config_get_default_high_threshold_temperature(void); +bool config_is_window_decoration_enabled(void); +void config_set_window_decoration_enabled(bool); + +bool config_is_window_keep_below_enabled(void); +void config_set_window_keep_below_enabled(bool); + /* * Returns the user directory containing psensor data (configuration * and log).