diff options
Diffstat (limited to '')
-rw-r--r-- | sensorPlugins/heartrateSensor.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/sensorPlugins/heartrateSensor.h b/sensorPlugins/heartrateSensor.h deleted file mode 100644 index 13c1b9d..0000000 --- a/sensorPlugins/heartrateSensor.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef HEARTRATESENSOR_H -#define HEARTRATESENSOR_H - -#include <QObject> -#include <QDateTime> -#include <QDBusInterface> -#include <QTimer> - -#include <QtSensors/QHrmSensor> - -class HeartrateSensorPlugin : public QObject -{ - Q_OBJECT -public: - explicit HeartrateSensorPlugin(QObject *parent = 0, int initInterval = 600000); - virtual ~HeartrateSensorPlugin() {}; - - void timeUpdate(); - -public slots: - void triggerRecording(); - -private slots: - void finishRecording(); - -private: - QDateTime lastRecordTime; - int interval; - QTimer *recordIntervalTimer; - QHrmSensor *hrmSensor; - - const QString sensorPathPrefix = "heartrateMonitor"; -}; - -#endif // HEARTRATESENSOR_H |