Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
PluginTerminal.h
1#ifndef CPLUGINTERMINAL_H_KL_2021_07_23
2#define CPLUGINTERMINAL_H_KL_2021_07_23
3
4#include "PluginClient.h"
5#include <QTranslator>
6
8{
9 Q_OBJECT
10 Q_INTERFACES(CPluginClient)
11
12#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
13 Q_PLUGIN_METADATA(IID CPluginClient_iid)
14#endif
15
16public:
17 explicit CPluginTerminal(QObject *parent = nullptr);
18 virtual ~CPluginTerminal();
19
20 virtual const QString Protocol() const override;
21 virtual const QString Name() const override;
22 virtual const QString DisplayName() const override;
23 virtual const QString Description() const override;
24 virtual const QIcon Icon() const override;
25private:
26 virtual CConnecter *CreateConnecter(const QString &szProtocol) override;
27};
28
29#endif // CPLUGINTERMINAL_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 Name() const override
This name must be the same as the project name (${PROJECT_NAME}). The translation file (${PROJECT_NAM...
virtual const QString Description() const override
Plugin description.
virtual const QString DisplayName() const override
The plugin display name.