3#ifndef CPLUGINCLIENT_H_KL_2021_07_23
4#define CPLUGINCLIENT_H_KL_2021_07_23
62 virtual const QString Id()
const;
70 virtual const QString
Name()
const = 0;
73 virtual const QString DisplayName()
const;
78 virtual const QString
Version()
const = 0;
79 virtual const QIcon Icon()
const;
89 virtual const QString Details()
const;
116 QSharedPointer<QTranslator> m_Translator;
128 Q_INVOKABLE
int InitTranslator();
132#define CPluginClient_iid "KangLinStudio.Rabbit.RemoteControl.CPluginClient"
virtual const QString Description() const =0
Plugin description.
virtual const QString Version() const =0
Version.
virtual Q_INVOKABLE CConnecter * CreateConnecter(const QString &szId)=0
New CConnecter instance.
virtual const QString Name() const =0
This name must be the same as the project name (${PROJECT_NAME}). The translation file (${PROJECT_NAM...
virtual const QString Protocol() const =0
Plugin Protocol.
CPluginClient(QObject *parent=nullptr)
When the derived class is implemented, The plugin global resources are initialized are loaded here.