summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-06-30 03:03:48 +0200
committermonsta <[email protected]>2015-07-10 11:10:25 +0300
commitcb07e644e03172830bdadbd57b8c09cc6ca37f0c (patch)
treeb2c7c593aa0ade909df31eb2ab52752819bb9f50
parent8d5752eae7010d626f76c5f7fbd3d19861841bfe (diff)
downloadmate-sensors-applet-cb07e644e03172830bdadbd57b8c09cc6ca37f0c.tar.bz2
mate-sensors-applet-cb07e644e03172830bdadbd57b8c09cc6ca37f0c.tar.xz
Fix implicit declaration of function
-rw-r--r--sensors-applet/sensors-applet.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/sensors-applet/sensors-applet.h b/sensors-applet/sensors-applet.h
index fda92b5..d2e0e20 100644
--- a/sensors-applet/sensors-applet.h
+++ b/sensors-applet/sensors-applet.h
@@ -183,4 +183,21 @@ void sensors_applet_find_sensors(SensorsApplet *sensors_applet,
const gchar *path,
SensorsInterfaceTestSensorFunc test_sensor);
+gboolean sensors_applet_add_sensor(SensorsApplet *sensors_applet,
+ const gchar *path,
+ const gchar *id,
+ const gchar *label,
+ const gchar *interface,
+ SensorType type,
+ gboolean enable,
+ gdouble low_value,
+ gdouble high_value,
+ gboolean alarm_enable,
+ const gchar *low_alarm_command,
+ const gchar *high_alarm_command,
+ gint alarm_timeout,
+ gdouble multiplier,
+ gdouble offset,
+ IconType icon_type,
+ const gchar *graph_color);
#endif /* SENSORS_APPLET_H */