diff options
| author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2006-05-04 03:35:14 +0000 |
|---|---|---|
| committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2006-05-04 03:35:14 +0000 |
| commit | 4c3f5f5b09cf1ac31598175397134a81782b1274 (patch) | |
| tree | 8b650ef167a158a3861c5a3e25e85a7a1f5b805b /sysutils/sensors-applet/files/smartctl-sensors-interface.h | |
| parent | - update to 0.62 (diff) | |
- Add hard disk temperature support (uses sysutils/smartmontools).
- Fix some icons.
- Style.
Notes
Notes:
svn path=/head/; revision=161312
Diffstat (limited to 'sysutils/sensors-applet/files/smartctl-sensors-interface.h')
| -rw-r--r-- | sysutils/sensors-applet/files/smartctl-sensors-interface.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sysutils/sensors-applet/files/smartctl-sensors-interface.h b/sysutils/sensors-applet/files/smartctl-sensors-interface.h new file mode 100644 index 000000000000..03b3b099a475 --- /dev/null +++ b/sysutils/sensors-applet/files/smartctl-sensors-interface.h @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2006 Jean-Yves Lefort <jylefort@FreeBSD.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#ifndef SMARTCTL_SENSORS_INTERFACE_H +#define SMARTCTL_SENSORS_INTERFACE_H + +#include "sensors-applet.h" + +void smartctl_sensors_interface_init (SensorsApplet *sensors_applet); +double smartctl_sensors_interface_get_sensor_value (const gchar *path, + const gchar *id, + SensorType type, + GError **error); + +#endif /* SMARTCTL_SENSORS_INTERFACE_H*/ |
