From 7f867152aa68b85547a693cd09985fcc8b359262 Mon Sep 17 00:00:00 2001 From: info-cppsp Date: Sat, 18 Nov 2017 16:25:55 +0100 Subject: Fix indents 08 --- sensors-applet/sensors-applet-sensor.h | 50 +++++++++++++++++----------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'sensors-applet/sensors-applet-sensor.h') diff --git a/sensors-applet/sensors-applet-sensor.h b/sensors-applet/sensors-applet-sensor.h index bb5cfb4..7e4e2e5 100644 --- a/sensors-applet/sensors-applet-sensor.h +++ b/sensors-applet/sensors-applet-sensor.h @@ -21,43 +21,43 @@ #include -// forward declare for plugins to use +/* forward declare for plugins to use */ typedef struct _SensorsApplet SensorsApplet; #define DEFAULT_GRAPH_COLOR "#ff0000" /* device icons */ typedef enum { - CPU_ICON = 0, - HDD_ICON, - BATTERY_ICON, - MEMORY_ICON, - GPU_ICON, - GENERIC_ICON, - FAN_ICON, - CASE_ICON, - NUM_ICONS, + CPU_ICON = 0, + HDD_ICON, + BATTERY_ICON, + MEMORY_ICON, + GPU_ICON, + GENERIC_ICON, + FAN_ICON, + CASE_ICON, + NUM_ICONS, } IconType; typedef enum { - CURRENT_SENSOR = 0, - FAN_SENSOR, - TEMP_SENSOR, - VOLTAGE_SENSOR + CURRENT_SENSOR = 0, + FAN_SENSOR, + TEMP_SENSOR, + VOLTAGE_SENSOR } SensorType; typedef struct _SensorsAppletSensorInfo { - gchar *path; // must be dynamically allocated - gchar *id; // must be dynamically allocated - gchar *label; // must be dynamically allocated - SensorType type; - gboolean enable; - gdouble low_value; - gdouble high_value; - gdouble multiplier; - gdouble offset; - IconType icon; - gchar *graph_color; // must be dynamically allocated + gchar *path; /* must be dynamically allocated */ + gchar *id; /* must be dynamically allocated */ + gchar *label; /* must be dynamically allocated */ + SensorType type; + gboolean enable; + gdouble low_value; + gdouble high_value; + gdouble multiplier; + gdouble offset; + IconType icon; + gchar *graph_color; /* must be dynamically allocated */ } SensorsAppletSensorInfo; -- cgit v1.2.1