#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,
/* 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;
/* 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,