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