Rabbit Remote Control
0.0.30
Loading...
Searching...
No Matches
Plugins
FreeRDP
Service
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
13
class
CServiceFreeRDP
:
public
CService
14
{
15
Q_OBJECT
16
public
:
17
explicit
CServiceFreeRDP
(
CPluginServiceFreeRDP
*plugin);
18
virtual
~CServiceFreeRDP
();
19
20
#ifdef HAVE_GUI
21
virtual
QWidget* GetParameterWidget(QWidget* parent =
nullptr
)
override
;
22
#endif
23
24
protected
:
25
virtual
int
OnInit
()
override
;
26
virtual
int
OnClean
()
override
;
27
28
private
:
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_
CPluginServiceFreeRDP
Definition
PluginServiceFreeRDP.h:9
CServiceFreeRDP
Definition
ServiceFreeRDP.h:14
CServiceFreeRDP::OnClean
virtual int OnClean() override
Clean service.
Definition
ServiceFreeRDP.cpp:56
CServiceFreeRDP::OnInit
virtual int OnInit() override
Init service.
Definition
ServiceFreeRDP.cpp:23
CService
The service interface.
Definition
Service.h:38
作者:康林 (kl222@126.com)
版权所有(c) 康林工作室 保留所有权力