File indexing completed on 2024-05-12 17:00:15

0001 /*
0002  * SPDX-FileCopyrightText: 2021 David Redondo <kde@david-redondo.de>
0003  *
0004  * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005  */
0006 
0007 #ifndef LMSENSORS_H
0008 #define LMSENSORS_H
0009 
0010 #include <systemstats/SensorPlugin.h>
0011 
0012 namespace KSysGuard
0013 {
0014 class SensorsFeatureSensor;
0015 }
0016 class LmSensorsPlugin : public KSysGuard::SensorPlugin
0017 {
0018     Q_OBJECT
0019 public:
0020     LmSensorsPlugin(QObject *parent, const QVariantList &args);
0021     ~LmSensorsPlugin() override;
0022     QString providerName() const override;
0023     void update() override;
0024 private:
0025     QVector<KSysGuard::SensorsFeatureSensor *> m_sensors;
0026 };
0027 #endif