summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorArseniy-Movshev <dodoradio@outlook.com>2023-07-02 12:11:28 +0100
committerArseniy-Movshev <dodoradio@outlook.com>2023-07-02 12:12:53 +0100
commit162c92bc3b3a7dbe3d1484f7efc812aa36b23bcb (patch)
treeeb4c4fe2638229f03adb220b5f0b2090ce670514 /common.h
parente1617431b4d1ef72c96d89d0754d42ed0e2cdb24 (diff)
Move fileaddrecord to common.h so that it can be used from qml plugin
Diffstat (limited to 'common.h')
-rw-r--r--common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common.h b/common.h
index 573b006..a6b3197 100644
--- a/common.h
+++ b/common.h
@@ -15,5 +15,6 @@
#include <QString>
QString fileNameForDate(QDate date, QString prefix);
+void fileAddRecord(QString sensorPrefix, QString logdata, QDateTime recordTime = QDateTime::currentDateTime()); //adds a record to today's log file for the given sensor
#endif //SENSORLOGD_COMMON_H