From d69ab590c71fabc0135b2b07a8859a80e556cdf5 Mon Sep 17 00:00:00 2001 From: Arseniy-Movshev Date: Fri, 21 Jul 2023 11:51:27 +0100 Subject: Add filesystem watchers to hrdataloader to update when new data comes in When data for a specific file is requested, that file is added to the watch list. Currently these files aren't ever removed from the watch list, hopefully we won't be loading enough files to cause problems, at least for now --- common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'common.h') diff --git a/common.h b/common.h index a6b3197..8240d06 100644 --- a/common.h +++ b/common.h @@ -15,6 +15,7 @@ #include QString fileNameForDate(QDate date, QString prefix); +QString sensorDirPath(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 -- cgit v1.2.3-54-g00ecf