Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
PluginThread.h
1// Author: Kang Lin <kl222@126.com>
2
3#ifndef CPLUGINHREAD_H_KL_2021_08_05
4#define CPLUGINHREAD_H_KL_2021_08_05
5
6#pragma once
7
8#include <QThread>
9#include "ConnecterConnect.h"
10
23class CLIENT_EXPORT CPluginThread : public QThread
24{
25 Q_OBJECT
26
27public:
28 explicit CPluginThread(QObject *parent = nullptr);
29 virtual ~CPluginThread();
30
31Q_SIGNALS:
32 void sigConnect(CConnecterConnect*);
33 void sigDisconnect(CConnecterConnect*);
34
35protected:
36 virtual void run() override;
37};
38
39#endif // CPLUGINHREAD_H_KL_2021_08_05
The connector interface of the plug-in, which is only used by the plug-in.
One thread handles multiple CConnecterConnect.