Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
PluginScreenCapture.cpp
1// Author: Kang Lin <kl222@126.com>
2
3#include "PluginScreenCapture.h"
4#include "ScreenCapture.h"
5
6CPluginScreenCapture::CPluginScreenCapture(QObject *parent)
7 : CPluginClient{parent}
8{}
9
10
11const QString CPluginScreenCapture::Protocol() const
12{
13 return "Tool";
14}
15
16const QString CPluginScreenCapture::Name() const
17{
18 return "ScreenCapture";
19}
20
22{
23 return tr("Capture screen");
24}
25
27{
28 return tr("Capture or record screen and window. This is a sample example.");
29}
30
31const QString CPluginScreenCapture::Version() const
32{
33 return ScreenCapture_VERSION;
34}
35
36const QIcon CPluginScreenCapture::Icon() const
37{
38 return QIcon::fromTheme("camera-photo");
39}
40
42{
43 CConnecter* p = new CScreenCapture(this);
44 return p;
45}
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...