Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
PluginServiceTigerVNC.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 CPluginServiceTigerVNC(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};
33
34#endif // CPLUGINSERVICETIGERVNC_H
The service plugin interface.
virtual const QString Protocol() const override
Plugin Protocol.
virtual const QString DisplayName() const override
The plugin display name.
virtual const QString Description() const override
Plugin description.
virtual CService * NewService() override
New service.
virtual const QString Name() const override
This name must be the same as the project name (${PROJECT_NAME}).
The service plugin interface.
The service interface.
Definition Service.h:38