From cb07e644e03172830bdadbd57b8c09cc6ca37f0c Mon Sep 17 00:00:00 2001 From: infirit Date: Tue, 30 Jun 2015 03:03:48 +0200 Subject: Fix implicit declaration of function --- sensors-applet/sensors-applet.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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 */ -- cgit v1.2.1