avoid to store configuration in psensor struct
[psensor.git] / src / lib / psensor.h
index 3a6b5ec..a04c0ac 100644 (file)
 #ifndef _PSENSOR_PSENSOR_H_
 #define _PSENSOR_PSENSOR_H_
 
-#include <sensors/sensors.h>
-
 #include <config.h>
 
-#ifdef HAVE_ATASMART
-#include <atasmart.h>
-#endif
-
 #include <bool.h>
 #include <color.h>
 #include <measure.h>
 #include <plog.h>
 
-
 enum psensor_type {
        /* type of sensor values */
        SENSOR_TYPE_TEMP = 0x00001,
@@ -78,11 +71,6 @@ struct psensor {
        /* Name of the chip. */
        char *chip;
 
-       /* lm-sensor */
-       const sensors_chip_name *iname;
-
-       const sensors_feature *feature;
-
        /* Maximum length of 'values' */
        int values_max_length;
 
@@ -121,16 +109,11 @@ struct psensor {
        /* AMD id for the aticonfig */
        int amd_id;
 #endif
-#ifdef HAVE_ATASMART
-       SkDisk *disk;
-#endif
 
        void *provider_data;
        void (*provider_data_free_fct)(void *);
 
        char *url;
-
-       bool appindicator_enabled;
 };
 
 struct psensor *psensor_create(char *id,