Rabbit Remote Control
0.1.0-bate10
Loading...
Searching...
No Matches
Plugins
SftpServer
ParameterSftpServer.h
1
// Author: Kang Lin <kl222@126.com>
2
3
#pragma once
4
5
#include "ParameterServer.h"
6
7
class
CParameterSftpServer
:
public
CParameterServer
8
{
9
Q_OBJECT
10
11
public
:
12
explicit
CParameterSftpServer
(QObject *parent =
nullptr
,
13
const
QString& szPrefix = QString());
14
15
public
:
16
bool
GetAnonymousLogin()
const
;
17
void
SetAnonymousLogin(
bool
newAnonymousLogin);
18
private
:
19
bool
m_bAnonymousLogin;
20
public
:
21
bool
GetReadOnly()
const
;
22
void
SetReadOnly(
bool
newReadOnly);
23
private
:
24
bool
m_bReadOnly;
25
public
:
26
QString GetRoot()
const
;
27
void
SetRoot(
const
QString &newRoot);
28
private
:
29
QString m_szRoot;
30
31
// CParameter interface
32
protected
:
33
virtual
int
OnLoad(QSettings &set)
override
;
34
virtual
int
OnSave(QSettings &set)
override
;
35
};
CParameterServer
The server base parameters.
Definition
ParameterServer.h:12
CParameterSftpServer
Definition
ParameterSftpServer.h:8
Author: Kang Lin (kl222@126.com)
Copyright (c) Kang Lin Studios All Rights Reserved