Added fileSystemWatcher to check if cc-terminal has to switched on/off.
This commit is contained in:
parent
3e7f71899c
commit
73b2dec85e
@ -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 <QScopedPointer>
|
||||
#include <QFileSystemWatcher>
|
||||
|
||||
/*
|
||||
* 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<QFileSystemWatcher> m_fileSystemWatcher;
|
||||
QString m_watchedFile;
|
||||
|
||||
private slots:
|
||||
void onCCWakeGpioChanged(QString const &file);
|
||||
|
||||
public:
|
||||
explicit hwapi(QObject *parent = nullptr);
|
||||
|
Loading…
Reference in New Issue
Block a user