Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
ServiceFreeRDP.h
1// Author: Kang Lin <kl222@126.com>
2
3#ifndef CSERVICEFREERDP_H_KL_2022_01_27_
4#define CSERVICEFREERDP_H_KL_2022_01_27_
5
6#pragma once
7
8#include <QLoggingCategory>
9#include "Service.h"
10#include "PluginServiceFreeRDP.h"
11#include <freerdp/server/shadow.h>
12
14{
15 Q_OBJECT
16public:
17 explicit CServiceFreeRDP(CPluginServiceFreeRDP *plugin);
18 virtual ~CServiceFreeRDP();
19
20#ifdef HAVE_GUI
21 virtual QWidget* GetParameterWidget(QWidget* parent = nullptr) override;
22#endif
23
24protected:
25 virtual int OnInit() override;
26 virtual int OnClean() override;
27
28private:
29 QLoggingCategory m_Log;
30 rdpSettings* m_pSettings;
31 rdpShadowServer* m_pServer;
32 bool m_bServerInit;
33
34 int SetParameters();
35};
36
37#endif // CSERVICEFREERDP_H_KL_2022_01_27_
virtual int OnClean() override
Clean service.
virtual int OnInit() override
Init service.
The service interface.
Definition Service.h:38