Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
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
10{
11 Q_OBJECT
12public:
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
23public:
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;
28private:
29 virtual CConnecter *CreateConnecter(const QString &szProtocol) override;
30};
31
32#endif // CPLUGINTELNET_H_KL_2021_07_23
Connecter interface.
Definition Connecter.h:62
The plugin interface.
virtual CConnecter * CreateConnecter(const QString &szProtocol) override
New CConnecter instance.
virtual const QString Protocol() const override
Plugin Protocol.
virtual const QString Description() const override
Plugin description.
virtual const QString Name() const override
This name must be the same as the project name (${PROJECT_NAME}). The translation file (${PROJECT_NAM...