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