Rabbit Remote Control 0.1.0-bate10
Loading...
Searching...
No Matches
ParameterFreeRDPServer.h
1// Author: Kang Lin <kl222@126.com>
2
3#pragma once
4#include "ParameterServer.h"
5
7{
8 Q_OBJECT
9public:
10 explicit CParameterFreeRDPServer(QObject *parent = nullptr,
11 const QString& szPrefix = QString());
12
13public:
14 bool getTlsSecurity() const;
15 void setTlsSecurity(bool newTlsSecurity);
16 bool getRdpSecurity() const;
17 void setRdpSecurity(bool newRdpSecurity);
18 bool getNlaSecurity() const;
19 void setNlaSecurity(bool newNlaSecurity);
20 bool getNlaExtSecurity() const;
21 void setNlaExtSecurity(bool newNlaExtSecurity);
22 const QString &getSamFile() const;
23 void setSamFile(const QString &newSamFile);
24
25 bool getAuthentication() const;
26 void setAuthentication(bool newAuthentication);
27
28 bool getMayView() const;
29 void setMayView(bool newMayView);
30 bool getMayInteract() const;
31 void setMayInteract(bool newMayInteract);
32
33Q_SIGNALS:
34 void sigTlsSecurityChanged();
35 void sigRdpSecurityChanged();
36 void sigNlaecurityChanged();
37 void sigNlaExtSecurityChanged();
38 void sigSamFileChanged();
39
40 void sigAuthenticationChanged();
41
42 void sigMayViewChanged();
43 void sigMayInteractChanged();
44
45private:
46 bool m_bTlsSecurity;
47 bool m_bRdpSecurity;
48 bool m_bNlaSecurity;
49 bool m_bNlaExtSecurity;
50 QString m_szSamFile;
51
52 bool m_bAuthentication;
53
54 bool m_MayView;
55 bool m_MayInteract;
56
57protected:
58 virtual int OnLoad(QSettings &set) override;
59 virtual int OnSave(QSettings &set) override;
60};
The server base parameters.