forked from KangLin/RabbitRemoteControl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConnecterDesktop.h
More file actions
44 lines (37 loc) · 1.3 KB
/
ConnecterDesktop.h
File metadata and controls
44 lines (37 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef CCONNECTERDESKTOP_H
#define CCONNECTERDESKTOP_H
#include "ConnecterDesktopThread.h"
/**
* \~chinese
* \brief 它仅实现 Qt 事件(非阻塞)
* \details
* 序列图:\image html docs/Image/PluginClientNoBlockSequenDiagram.svg
* \note 此接口仅由插件实现。
* 如果要实现一个后台线程处理多个连接,此客户端插件接口必须由 CPluginClientThread 派生。 \n
*
* \~english
* \brief The class only supports the Qt event (the signal-slot mechanism of QObject, no-block)
* \details
* Sequen diagram: \image html docs/Image/PluginClientNoBlockSequenDiagram.svg
* \note The interface only is implemented by plug-in.
* If implements a background thread to handle
* multiple remote desktop connections,
* The plugin interface must be derived from CPluginClientThread. \n
*
* \~
* \see CPluginClientThread CPluginThread CManageConnect
*/
class CLIENT_EXPORT CConnecterDesktop : public CConnecterDesktopThread
{
Q_OBJECT
public:
CConnecterDesktop(CPluginClient *parent = nullptr);
virtual ~CConnecterDesktop();
public slots:
virtual int Connect() override;
virtual int DisConnect() override;
Q_SIGNALS:
void sigOpenConnect(CConnecterDesktop*);
void sigCloseconnect(CConnecterDesktop*);
};
#endif // CCONNECTERDESKTOP_H