aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorOndrej Čerman2019-06-19 00:29:40 +0200
committerOndrej Čerman2019-06-19 00:29:40 +0200
commit05d2d2c220423283c0fe5721b314d625496364d1 (patch)
treed1e005ba8a342d85d5ee848c9cc44d084a19474a /src/include
parentb1dd2f531524d64357775b6dbcfde9474eb740c4 (diff)
Added option to clear min/max values
Diffstat (limited to 'src/include')
-rw-r--r--src/include/msr.h1
-rw-r--r--src/include/zenmonitor.h2
-rw-r--r--src/include/zenpower.h1
3 files changed, 3 insertions, 1 deletions
diff --git a/src/include/msr.h b/src/include/msr.h
index 33471ca..664a5ee 100644
--- a/src/include/msr.h
+++ b/src/include/msr.h
@@ -1,3 +1,4 @@
gboolean msr_init();
void msr_update();
+void msr_clear_minmax();
GSList* msr_get_sensors();
diff --git a/src/include/zenmonitor.h b/src/include/zenmonitor.h
index 9f320eb..c0b1f73 100644
--- a/src/include/zenmonitor.h
+++ b/src/include/zenmonitor.h
@@ -15,9 +15,9 @@ typedef struct {
gboolean (*func_init)();
GSList* (*func_get_sensors)();
void (*func_update)();
+ void (*func_clear_minmax)();
gboolean enabled;
GSList *sensors;
-
} SensorSource;
SensorInit* sensor_init_new(void);
diff --git a/src/include/zenpower.h b/src/include/zenpower.h
index 4feeb15..54978d6 100644
--- a/src/include/zenpower.h
+++ b/src/include/zenpower.h
@@ -1,3 +1,4 @@
gboolean zenpower_init();
GSList* zenpower_get_sensors();
void zenpower_update();
+void zenpower_clear_minmax();