玉兔远程控制
0.1.0-bate11
Toggle main menu visibility
载入中...
搜索中...
未找到
Plugins
FreeRDP
Service
ParameterServiceFreeRDP.h
1
// Author: Kang Lin <kl222@126.com>
2
3
#ifndef CPARAMETERSERVICEFREERDP_H
4
#define CPARAMETERSERVICEFREERDP_H
5
6
#include "ParameterService.h"
7
8
class
CParameterServiceFreeRDP :
public
CParameterService
9
{
10
Q_OBJECT
11
12
public
:
13
explicit
CParameterServiceFreeRDP(QObject *parent =
nullptr
);
14
15
virtual
int
Load(
const
QString &szFile)
override
;
16
virtual
int
Save(
const
QString &szFile)
override
;
17
18
bool
getTlsSecurity()
const
;
19
void
setTlsSecurity(
bool
newTlsSecurity);
20
bool
getRdpSecurity()
const
;
21
void
setRdpSecurity(
bool
newRdpSecurity);
22
bool
getNlaSecurity()
const
;
23
void
setNlaSecurity(
bool
newNlaSecurity);
24
bool
getNlaExtSecurity()
const
;
25
void
setNlaExtSecurity(
bool
newNlaExtSecurity);
26
const
QString &getSamFile()
const
;
27
void
setSamFile(
const
QString &newSamFile);
28
29
bool
getAuthentication()
const
;
30
void
setAuthentication(
bool
newAuthentication);
31
32
bool
getMayView()
const
;
33
void
setMayView(
bool
newMayView);
34
bool
getMayInteract()
const
;
35
void
setMayInteract(
bool
newMayInteract);
36
37
Q_SIGNALS:
38
void
sigTlsSecurityChanged();
39
void
sigRdpSecurityChanged();
40
void
sigNlaecurityChanged();
41
void
sigNlaExtSecurityChanged();
42
void
sigSamFileChanged();
43
44
void
sigAuthenticationChanged();
45
46
void
sigMayViewChanged();
47
void
sigMayInteractChanged();
48
49
private
:
50
bool
m_bTlsSecurity;
51
bool
m_bRdpSecurity;
52
bool
m_bNlaSecurity;
53
bool
m_bNlaExtSecurity;
54
QString m_szSamFile;
55
56
bool
m_bAuthentication;
57
58
bool
m_MayView;
59
bool
m_MayInteract;
60
61
Q_PROPERTY(
bool
TlsSecurity READ getTlsSecurity WRITE setTlsSecurity)
62
Q_PROPERTY(
bool
RdpSecurity READ getRdpSecurity WRITE setRdpSecurity)
63
Q_PROPERTY(
bool
NlaSecurity READ getNlaSecurity WRITE setNlaSecurity)
64
Q_PROPERTY(
bool
NlaExtSecurity READ getNlaExtSecurity WRITE setNlaExtSecurity NOTIFY sigNlaExtSecurityChanged)
65
Q_PROPERTY(
bool
Authentication READ getAuthentication WRITE setAuthentication NOTIFY sigAuthenticationChanged)
66
Q_PROPERTY(QString SamFile READ getSamFile WRITE setSamFile NOTIFY sigSamFileChanged)
67
Q_PROPERTY(
bool
MayView READ getMayView WRITE setMayView NOTIFY sigMayViewChanged)
68
Q_PROPERTY(
bool
MayInteract READ getMayInteract WRITE setMayInteract NOTIFY sigMayInteractChanged)
69
};
70
71
#endif
// CPARAMETERSERVICEFREERDP_H
作者:康林 (kl222@126.com)
版权所有(c) 康林工作室 保留所有权力