diff --git a/include/hwapi.h b/include/hwapi.h index 8e51519..910bd4f 100644 --- a/include/hwapi.h +++ b/include/hwapi.h @@ -63,7 +63,8 @@ V4.0 6.9.2023: activating DC-Bootloader in slve-lib (SM) #include "shared_mem_buffer.h" #include "runProc.h" #include "interfaces.h" - +#include +#include /* * select Plugin Type here @@ -98,7 +99,7 @@ V4.0 6.9.2023: activating DC-Bootloader in slve-lib (SM) //#define THIS_IS_CA_MASTER - +class QFileSystemWatcher; class QSharedMemory; class DownloadThread; class ReportingThread; @@ -115,7 +116,11 @@ private: QSharedMemory *m_sharedMem; ReportingThread *m_reportingThread; DownloadThread *m_downloadThread; - //QTimer *hwapi_triggerBL; + QScopedPointer m_fileSystemWatcher; + QString m_watchedFile; + +private slots: + void onCCWakeGpioChanged(QString const &file); public: explicit hwapi(QObject *parent = nullptr);