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