Rabbit Remote Control 0.0.30
|
The plugin interface. More...
#include <PluginClient.h>
Public Member Functions | |
CPluginClient (QObject *parent=nullptr) | |
When the derived class is implemented, The plugin global resources are initialized are loaded here. | |
virtual | ~CPluginClient () |
When the derived class is implemented, the resources are clean are unloaded here. | |
virtual const QString | Id () const |
ID. Default: Protocol() + ":" + Name() | |
virtual const QString | Protocol () const =0 |
Plugin Protocol. | |
virtual const QString | Name () const =0 |
This name must be the same as the project name (${PROJECT_NAME}). The translation file (${PROJECT_NAME}_*.ts)) name is associated with it. | |
virtual const QString | DisplayName () const |
The plugin display name. | |
virtual const QString | Description () const =0 |
Plugin description. | |
virtual const QString | Version () const =0 |
Version. | |
virtual const QIcon | Icon () const |
virtual const QString | Details () const |
Display more information in About dialog or log. | |
Private Member Functions | |
virtual Q_INVOKABLE CConnecter * | CreateConnecter (const QString &szId)=0 |
New CConnecter instance. | |
Q_INVOKABLE int | InitTranslator () |
Initialize the translation resource, which is only called by CClient. | |
Private Attributes | |
QSharedPointer< QTranslator > | m_Translator |
The plugin interface.
Create CConnecter instance. The interface only is implemented by plug-in.
Definition at line 32 of file PluginClient.h.
|
explicit |
When the derived class is implemented, The plugin global resources are initialized are loaded here.
eg:
|
virtual |
When the derived class is implemented, the resources are clean are unloaded here.
eg:
Definition at line 17 of file PluginClient.cpp.
|
privatepure virtual |
New CConnecter instance.
Only is called by CClient
szId |
Implemented in CPluginFreeRDP, CPluginLibVNCServer, CPluginPlayer, CPluginRabbitVNC, CPluginScreenCapture, CPluginTigerVnc, CPluginWakeOnLan, CPluginClientThread, CPluginLibSSH, CPluginTelnet, and CPluginTerminal.
|
pure virtual |
Plugin description.
Implemented in CPluginFreeRDP, CPluginLibSSH, CPluginLibVNCServer, CPluginPlayer, CPluginRabbitVNC, CPluginScreenCapture, CPluginTelnet, CPluginTerminal, CPluginTigerVnc, and CPluginWakeOnLan.
|
virtual |
Display more information in About dialog or log.
eg: Include the plugin depends on the library version and description
Reimplemented in CPluginFreeRDP, CPluginLibVNCServer, CPluginPlayer, CPluginTigerVnc, and CPluginWakeOnLan.
Definition at line 52 of file PluginClient.cpp.
|
virtual |
The plugin display name.
Reimplemented in CPluginFreeRDP, CPluginLibVNCServer, CPluginPlayer, CPluginRabbitVNC, CPluginScreenCapture, CPluginTerminal, CPluginTigerVnc, and CPluginWakeOnLan.
Definition at line 42 of file PluginClient.cpp.
|
virtual |
Definition at line 47 of file PluginClient.cpp.
|
virtual |
ID. Default: Protocol() + ":" + Name()
Definition at line 37 of file PluginClient.cpp.
|
private |
Initialize the translation resource, which is only called by CClient.
Because it calls Name(), So it can't be called directly in the constructor of this class.
Definition at line 25 of file PluginClient.cpp.
|
pure virtual |
This name must be the same as the project name (${PROJECT_NAME}). The translation file (${PROJECT_NAME}_*.ts)) name is associated with it.
Implemented in CPluginFreeRDP, CPluginLibSSH, CPluginLibVNCServer, CPluginPlayer, CPluginRabbitVNC, CPluginScreenCapture, CPluginTelnet, CPluginTerminal, CPluginTigerVnc, and CPluginWakeOnLan.
|
pure virtual |
Plugin Protocol.
Implemented in CPluginFreeRDP, CPluginLibSSH, CPluginLibVNCServer, CPluginPlayer, CPluginRabbitVNC, CPluginScreenCapture, CPluginTelnet, CPluginTerminal, CPluginTigerVnc, and CPluginWakeOnLan.
|
pure virtual |
Version.
Implemented in CPluginLibVNCServer, CPluginRabbitVNC, CPluginTigerVnc, CPluginFreeRDP, CPluginPlayer, CPluginScreenCapture, and CPluginWakeOnLan.
|
private |
Definition at line 116 of file PluginClient.h.