25 lines
431 B
C++
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
|