File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44#include " Backend.h"
55
66class 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+ */
719class PLUGIN_EXPORT CBackendServer : public CBackend
820{
921 Q_OBJECT
@@ -12,10 +24,25 @@ class PLUGIN_EXPORT CBackendServer : public CBackend
1224 virtual ~CBackendServer ();
1325
1426public 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
1734Q_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
2148private:
Original file line number Diff line number Diff line change 1414
1515/* !
1616 * \brief The CFrmViewServer class
17- * \see COperateServer
17+ * \see COperateServer CBackendServer
18+ * \ingroup gOperateServer
1819 */
1920class PLUGIN_EXPORT CFrmViewServer : public QWidget
2021{
Original file line number Diff line number Diff line change @@ -9,6 +9,15 @@ class CBackend;
99class CBackendThread ;
1010class 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 */
2838class PLUGIN_EXPORT COperateServer : public COperate
2939{
Original file line number Diff line number Diff 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
6978See: [ Compile integration] ( ../../.github/workflows/msvc.yml )
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments