diff options
Diffstat (limited to 'sensors-applet/sensors-applet-plugin.h')
-rw-r--r-- | sensors-applet/sensors-applet-plugin.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sensors-applet/sensors-applet-plugin.h b/sensors-applet/sensors-applet-plugin.h index 131a4ef..6d7bcdf 100644 --- a/sensors-applet/sensors-applet-plugin.h +++ b/sensors-applet/sensors-applet-plugin.h @@ -32,8 +32,8 @@ GQuark sensors_applet_plugin_error_quark(void); * structs to create the sensors for this plugin from */ GList *sensors_applet_plugin_init(void); -gdouble sensors_applet_plugin_get_sensor_value(const gchar *path, - const gchar *id, +gdouble sensors_applet_plugin_get_sensor_value(const gchar *path, + const gchar *id, SensorType type, GError **error); @@ -43,8 +43,8 @@ void sensors_applet_plugin_find_sensors(GList **sensors, const gchar *path, SensorsAppletPluginTestSensorFunc); -void sensors_applet_plugin_default_sensor_limits(SensorType type, - gdouble *low_value, +void sensors_applet_plugin_default_sensor_limits(SensorType type, + gdouble *low_value, gdouble *high_value); void sensors_applet_plugin_add_sensor(GList **sensors, @@ -56,7 +56,6 @@ void sensors_applet_plugin_add_sensor(GList **sensors, IconType icon, const gchar *graph_color); - void sensors_applet_plugin_add_sensor_with_limits(GList **sensors, const gchar *path, const gchar *id, @@ -68,5 +67,4 @@ void sensors_applet_plugin_add_sensor_with_limits(GList **sensors, IconType icon, const gchar *graph_color); - #endif // SENSORS_APPLET_PLUGIN_H |