Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
PluginRabbitVNC.h
1// Author: Kang Lin <kl222@126.com>
2
3#ifndef CPluginRabbitVnc_H_KL_2021_07_23
4#define CPluginRabbitVnc_H_KL_2021_07_23
5
6#pragma once
7
8#include "PluginClient.h"
9
11{
12 Q_OBJECT
13
15 Q_INTERFACES(CPluginClient)
16
17#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
18 Q_PLUGIN_METADATA(IID CPluginClient_iid)
19#endif
21
22public:
23 explicit CPluginRabbitVNC(QObject *parent = nullptr);
24 virtual ~CPluginRabbitVNC() override;
25
26 virtual const QString Name() const override;
27 virtual const QString DisplayName() const override;
28 virtual const QString Description() const override;
29 virtual const QString Protocol() const override;
30 virtual const QIcon Icon() const override;
31 virtual const QString Version() const;
32
33private:
34 virtual CConnecter *CreateConnecter(const QString& szID) override;
35};
36
37#endif // CPluginRabbitVnc_H_KL_2021_07_23
Connecter interface.
Definition Connecter.h:62
The plugin interface.
virtual const QString DisplayName() const override
The plugin display name.
virtual CConnecter * CreateConnecter(const QString &szID) override
New CConnecter instance.
virtual ~CPluginRabbitVNC() override
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 Version() const
Version.
virtual const QString Description() const override
Plugin description.