summaryrefslogtreecommitdiff
path: root/sensors-applet/sensors-applet-sensor.h
diff options
context:
space:
mode:
authorinfo-cppsp <[email protected]>2017-11-18 16:25:55 +0100
committerraveit65 <[email protected]>2017-11-26 20:41:43 +0100
commit7f867152aa68b85547a693cd09985fcc8b359262 (patch)
treed272f07dc846f61bba0f572c1f63c262ca4d8bf4 /sensors-applet/sensors-applet-sensor.h
parent2c16ec3e88297515b75e429f52e0c0bd6703bab3 (diff)
downloadmate-sensors-applet-7f867152aa68b85547a693cd09985fcc8b359262.tar.bz2
mate-sensors-applet-7f867152aa68b85547a693cd09985fcc8b359262.tar.xz
Fix indents 08
Diffstat (limited to 'sensors-applet/sensors-applet-sensor.h')
-rw-r--r--sensors-applet/sensors-applet-sensor.h50
1 files changed, 25 insertions, 25 deletions
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 <glib.h>
-// 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;