Skip to content

Commit 87adffc

Browse files
committed
Plugin: Modify documents
1 parent a9de7cf commit 87adffc

5 files changed

Lines changed: 57 additions & 3 deletions

File tree

Src/BackendServer.h

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@
44
#include "Backend.h"
55

66
class COperateServer;
7+
8+
/*!
9+
* \~chinese
10+
* \brief 服务接口。它由协议插件实现。
11+
*
12+
* \~english
13+
* \brief Server interface. It is implemented by the Protocol plugin.
14+
*
15+
* \~
16+
* \see COperateServer CFrmViewServer
17+
* \ingroup gOperateServer
18+
*/
719
class PLUGIN_EXPORT CBackendServer : public CBackend
820
{
921
Q_OBJECT
@@ -12,10 +24,25 @@ class PLUGIN_EXPORT CBackendServer : public CBackend
1224
virtual ~CBackendServer();
1325

1426
public Q_SLOTS:
27+
/*!
28+
* \brief Disconnect client
29+
* \param szIp
30+
* \param port
31+
*/
1532
virtual void slotDisconnect(const QString& szIp, const quint16 port) = 0;
1633

1734
Q_SIGNALS:
35+
/*!
36+
* \brief emit when new client connected
37+
* \param szIp
38+
* \param port
39+
*/
1840
void sigConnected(const QString& szIp, const quint16 port);
41+
/*!
42+
* \brief emit when the client disconnected
43+
* \param szIp
44+
* \param port
45+
*/
1946
void sigDisconnected(const QString& szIp, const quint16 port);
2047

2148
private:

Src/FrmViewServer.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414

1515
/*!
1616
* \brief The CFrmViewServer class
17-
* \see COperateServer
17+
* \see COperateServer CBackendServer
18+
* \ingroup gOperateServer
1819
*/
1920
class PLUGIN_EXPORT CFrmViewServer : public QWidget
2021
{

Src/OperateServer.h

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ class CBackend;
99
class CBackendThread;
1010
class CFrmViewServer;
1111

12+
/*!
13+
* \~chinese
14+
* \defgroup gOperateServer 服务类
15+
* \~english
16+
* \defgroup gOperateServer Server class
17+
* \~
18+
* \ingroup PLUGIN_API
19+
*/
20+
1221
/*!
1322
* \~chinese 服务操作接口
1423
* \note 此接口仅由插件实现。 \n
@@ -23,7 +32,8 @@ class CFrmViewServer;
2332
* The connection object runs in a background thread.
2433
*
2534
* \~
26-
* \see CFrmViewServer
35+
* \see CFrmViewServer CBackendServer
36+
* \ingroup gOperateServer
2737
*/
2838
class PLUGIN_EXPORT COperateServer : public COperate
2939
{

docs/Compile/Windows.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,16 @@ Prior versions don't have CMake support.
6363
- Doxygen: [http://www.doxygen.nl/](http://www.doxygen.nl/)
6464
- Nsis: [https://nsis.sourceforge.io/Download](https://nsis.sourceforge.io/Download)
6565
- vcpkg: [https://github.com/microsoft/vcpkg](https://github.com/microsoft/vcpkg)
66-
66+
- Bash shell:
67+
- [MSys2](https://www.msys2.org/)
68+
- [Cygwin](https://cygwin.com/)
69+
70+
Msys2 or Cygwin uses the default installation.
71+
You can open the terminal with [this program](https://github.com/KangLin/RabbitRemoteControl/releases),
72+
and it will automatically appear in 'Settings → Properties → Shell Name'.
73+
If it is not the default installation location,
74+
please check 'Help' and set it according to the methods there.
75+
6776
### Compilation
6877

6978
See: [Compile integration](../../.github/workflows/msvc.yml)

docs/Compile/Windows_zh_CN.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@
6060
- Doxygen: [http://www.doxygen.nl/](http://www.doxygen.nl/)
6161
- Nsis: [https://nsis.sourceforge.io/Download](https://nsis.sourceforge.io/Download)
6262
- vcpkg: [https://github.com/microsoft/vcpkg](https://github.com/microsoft/vcpkg)
63+
- Bash shell:
64+
- [MSys2](https://www.msys2.org/)
65+
- [Cygwin](https://cygwin.com/)
66+
67+
Msys2 或者 Cygwin 使用默认安装,可用[本程序](https://github.com/KangLin/RabbitRemoteControl/releases)
68+
打开终端,在“设置 → 属性 → Shell 名称”中会自动出现。
69+
如果不是默认安装位置,请查看“帮助”并按其中方法设置。
6370

6471
### 编译
6572

0 commit comments

Comments
 (0)