Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
PluginServiceRabbitVNC.h
1// Author: Kang Lin <kl222@126.com>
2
3#ifndef CPLUGINSERVICETIGERVNC_H
4#define CPLUGINSERVICETIGERVNC_H
5
6#include "PluginServiceThread.h"
7#include <QTranslator>
8
10{
11 Q_OBJECT
12
13 Q_INTERFACES(CPluginService)
14
15#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
16 Q_PLUGIN_METADATA(IID CPluginService_iid)
17#endif
18
19public:
20 explicit CPluginServiceRabbitVNC(QObject *parent = nullptr);
22
23 // CPluginService interface
24public:
25 virtual const QString Protocol() const override;
26 virtual const QString Name() const override;
27 virtual const QString DisplayName() const override;
28 virtual const QString Description() const override;
29
30protected:
31 virtual CService *NewService() override;
32
33private:
34 QTranslator m_Translator;
35};
36
37#endif // CPLUGINSERVICETIGERVNC_H
virtual const QString Description() const override
Plugin description.
virtual const QString DisplayName() const override
The plugin display name.
virtual const QString Name() const override
This name must be the same as the project name (${PROJECT_NAME}).
virtual const QString Protocol() const override
Plugin Protocol.
virtual CService * NewService() override
New service.
The service plugin interface.
The service plugin interface.
The service interface.
Definition Service.h:38