3#include "PluginScreenCapture.h"
4#include "ScreenCapture.h"
6CPluginScreenCapture::CPluginScreenCapture(QObject *parent)
18 return "ScreenCapture";
23 return tr(
"Capture screen");
28 return tr(
"Capture or record screen and window. This is a sample example.");
33 return ScreenCapture_VERSION;
36const QIcon CPluginScreenCapture::Icon()
const
38 return QIcon::fromTheme(
"camera-photo");
客户端插件接口。用于建立 CConnecter 实例,它由协议插件实现。
virtual const QString DisplayName() const override
在界面上显示的名称
virtual const QString Version() const override
Version
virtual const QString Protocol() const override
协议
virtual CConnecter * CreateConnecter(const QString &szId) override
新建 CConnecter 实例。仅由 CClient 调用
virtual const QString Description() const override
描述
virtual const QString Name() const override
插件名,这个名一定要与工程名(${PROJECT_NAME})相同。 翻译文件(${PROJECT_NAME}_*.ts))名与其相关。