Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
PluginServiceFreeRDP.h
1// Author: Kang Lin <kl222@126.com>
2
3#ifndef CPLUGINSERVICEFREERDP_H
4#define CPLUGINSERVICEFREERDP_H
5
6#include "PluginService.h"
7
9{
10 Q_OBJECT
11
12 Q_INTERFACES(CPluginService)
13
14#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
15 Q_PLUGIN_METADATA(IID CPluginService_iid)
16#endif
17
18public:
19 explicit CPluginServiceFreeRDP(QObject *parent = nullptr);
20 virtual ~CPluginServiceFreeRDP();
21
22 // CPluginService interface
23public:
24 virtual const QString Protocol() const override;
25 virtual const QString Name() const override;
26 virtual const QString DisplayName() const override;
27 virtual const QString Description() const override;
28
29protected:
30 virtual CService *NewService() override;
31};
32
33#endif // CPLUGINSERVICEFREERDP_H
virtual CService * NewService() override
New service.
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 const QString Description() const override
Plugin description.
The service plugin interface.
The service interface.
Definition Service.h:38