Rabbit Remote Control
0.0.33
Loading...
Searching...
No Matches
Plugins
Telnet
PluginTelnet.h
1
#ifndef CPLUGINTELNET_H_KL_2021_07_23
2
#define CPLUGINTELNET_H_KL_2021_07_23
3
4
#pragma once
5
6
#include "PluginClient.h"
7
#include <QTranslator>
8
9
class
CPluginTelnet
:
public
CPluginClient
10
{
11
Q_OBJECT
12
public
:
13
explicit
CPluginTelnet
(QObject *parent =
nullptr
);
14
virtual
~CPluginTelnet
();
15
16
Q_INTERFACES(
CPluginClient
)
17
18
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
19
Q_PLUGIN_METADATA(IID CPluginClient_iid)
20
#endif
21
22
// CPluginFactory interface
23
public
:
24
virtual
const
QString
Protocol
()
const override
;
25
virtual
const
QString
Name
()
const override
;
26
virtual
const
QString
Description
()
const override
;
27
virtual
const
QIcon Icon()
const override
;
28
private
:
29
virtual
CConnecter
*CreateConnecter(
const
QString &szProtocol)
override
;
30
};
31
32
#endif
// CPLUGINTELNET_H_KL_2021_07_23
CConnecter
Connecter interface.
Definition
Connecter.h:62
CPluginClient
The plugin interface.
Definition
PluginClient.h:33
CPluginTelnet
Definition
PluginTelnet.h:10
CPluginTelnet::Protocol
virtual const QString Protocol() const override
Plugin Protocol.
Definition
PluginTelnet.cpp:19
CPluginTelnet::Description
virtual const QString Description() const override
Plugin description.
Definition
PluginTelnet.cpp:29
CPluginTelnet::Name
virtual const QString Name() const override
This name must be the same as the project name (${PROJECT_NAME}). The translation file (${PROJECT_NAM...
Definition
PluginTelnet.cpp:24
作者:康林 (kl222@126.com)
版权所有(c) 康林工作室 保留所有权力