diff options
author | Arseniy-Movshev <dodoradio@outlook.com> | 2023-05-31 18:20:42 +0100 |
---|---|---|
committer | Arseniy-Movshev <dodoradio@outlook.com> | 2023-06-01 13:32:13 +0100 |
commit | c1e9b5f8a2d287865db3a4d5d056ecf736e05b24 (patch) | |
tree | b76929fcd3df118aafb006b529e4a46093a48323 /daemon/logger.h | |
parent | 7a8565498f9894a6d8fbb8cd4462048a4c603418 (diff) |
Add a check for whether the daemon is starting the first time this boot
Diffstat (limited to '')
-rw-r--r-- | daemon/logger.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/logger.h b/daemon/logger.h index 515adb2..2eff33f 100644 --- a/daemon/logger.h +++ b/daemon/logger.h @@ -42,7 +42,9 @@ private: HeartrateSensorPlugin *m_heartrateSensor; bool stepCounterEnabled = false; StepCounterPlugin *m_stepCounter; + bool daemonFresh; QSettings *settings; + bool getDaemonFresh(); }; void fileAddRecord(QString sensorPrefix, QString logdata, QDateTime recordTime = QDateTime::currentDateTime()); //adds a record to today's log file for the given sensor |