17 lines
182 B
C
17 lines
182 B
C
|
#pragma once
|
||
|
|
||
|
#include <QThread>
|
||
|
#include <QString>
|
||
|
|
||
|
class SniffThread : public QThread
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
protected:
|
||
|
void run() override;
|
||
|
|
||
|
signals:
|
||
|
void dataReceived(QString data);
|
||
|
};
|
||
|
|