add scale property for hwmon interface
diff --git a/interfaces/openbmc_intf.h b/interfaces/openbmc_intf.h
index e8a543e..bb71e45 100644
--- a/interfaces/openbmc_intf.h
+++ b/interfaces/openbmc_intf.h
@@ -163,9 +163,9 @@
gint (*get_poll_interval) (Hwmon *object);
- const gchar * (*get_sysfs_path) (Hwmon *object);
+ gint (*get_scale) (Hwmon *object);
- GVariant * (*get_value) (Hwmon *object);
+ const gchar * (*get_sysfs_path) (Hwmon *object);
};
@@ -183,9 +183,8 @@
gchar *hwmon_dup_sysfs_path (Hwmon *object);
void hwmon_set_sysfs_path (Hwmon *object, const gchar *value);
-GVariant *hwmon_get_value (Hwmon *object);
-GVariant *hwmon_dup_value (Hwmon *object);
-void hwmon_set_value (Hwmon *object, GVariant *value);
+gint hwmon_get_scale (Hwmon *object);
+void hwmon_set_scale (Hwmon *object, gint value);
/* ---- */