Files
GUI/src/device/InfoReceiveWorker.h
2023-09-21 17:16:46 +08:00

25 lines
431 B
C++

#ifndef INFORECEIVEWORKER_H
#define INFORECEIVEWORKER_H
#include <QObject>
#include <QSharedPointer>
class InfoReceiveWorker : public QObject
{
Q_OBJECT
public:
InfoReceiveWorker(QObject* aParent);
public slots:
void startListen();
signals:
void infoReceived(int aServerID, int aActionID, const QString& aContents);
private:
void responsed(int aServerID, int aActionID);
};
#endif // INFORECEIVEWORKER_H