Rabbit Remote Control 0.0.30
|
The service plugin interface. More...
#include <PluginServiceThread.h>
Public Member Functions | |
CPluginServiceThread (QObject *parent=nullptr) | |
virtual void | Start () override |
Default start a new thread to process Service. | |
virtual void | Stop () override |
Public Member Functions inherited from CPluginService | |
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 CService * | NewService ()=0 |
New service. | |
int | InitTranslator () |
Private Attributes | |
QSharedPointer< CServiceThread > | m_Thread |
The service plugin interface.
The default start a thread. The interface only is implemented and used by plugin.
Definition at line 17 of file PluginServiceThread.h.
|
explicit |
Definition at line 4 of file PluginServiceThread.cpp.
|
overridevirtual |
Definition at line 8 of file PluginServiceThread.cpp.
|
overridevirtual |
Default start a new thread to process Service.
Reimplemented from CPluginService.
Definition at line 11 of file PluginServiceThread.cpp.
|
overridevirtual |
Reimplemented from CPluginService.
Definition at line 22 of file PluginServiceThread.cpp.
|
private |
Definition at line 33 of file PluginServiceThread.h.