Rabbit Remote Control 0.0.30
|
The service plugin interface. More...
#include <PluginService.h>
Public Member Functions | |
CPluginService (QObject *parent=nullptr) | |
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}). | |
virtual const QString | DisplayName () const |
The plugin display name. | |
virtual const QString | Description () const =0 |
Plugin description. | |
virtual const QIcon | Icon () const |
virtual void | Start () |
Start a Service. | |
virtual void | Stop () |
virtual CService * | NewService ()=0 |
New service. | |
int | InitTranslator () |
Private Attributes | |
QSharedPointer< CService > | m_Service |
QTranslator | m_Translator |
The service plugin interface.
The interface only is implemented and used by plugin.
Definition at line 26 of file PluginService.h.
|
explicit |
Definition at line 15 of file PluginService.cpp.
|
virtual |
Definition at line 19 of file PluginService.cpp.
|
pure virtual |
Plugin description.
Implemented in CPluginServiceFreeRDP, CPluginServiceLibVNCServer, CPluginServiceRabbitVNC, and CPluginServiceTigerVNC.
|
virtual |
The plugin display name.
Reimplemented in CPluginServiceFreeRDP, CPluginServiceRabbitVNC, and CPluginServiceTigerVNC.
Definition at line 48 of file PluginService.cpp.
|
virtual |
Definition at line 43 of file PluginService.cpp.
|
virtual |
ID. Default: Protocol() + "_" + Name()
Definition at line 38 of file PluginService.cpp.
int CPluginService::InitTranslator | ( | ) |
Definition at line 25 of file PluginService.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 CPluginServiceFreeRDP, CPluginServiceLibVNCServer, CPluginServiceRabbitVNC, and CPluginServiceTigerVNC.
|
pure virtual |
New service.
Implemented in CPluginServiceFreeRDP, CPluginServiceLibVNCServer, CPluginServiceRabbitVNC, and CPluginServiceTigerVNC.
|
pure virtual |
Plugin Protocol.
Implemented in CPluginServiceFreeRDP, CPluginServiceLibVNCServer, CPluginServiceRabbitVNC, and CPluginServiceTigerVNC.
|
virtual |
Start a Service.
Reimplemented in CPluginServiceThread.
Definition at line 53 of file PluginService.cpp.
|
virtual |
Definition at line 61 of file PluginService.cpp.
|
private |
Definition at line 65 of file PluginService.h.
|
private |
Definition at line 66 of file PluginService.h.