玉兔远程控制 0.0.31
载入中...
搜索中...
未找到
ParameterLibVNCServer.h
1#ifndef CPARAMETERLIBVNCSERVER_H
2#define CPARAMETERLIBVNCSERVER_H
3
4#pragma once
5
6#include <ParameterBase.h>
7
9{
10 Q_OBJECT
11public:
12 explicit CParameterLibVNCServer(QObject *parent = nullptr);
13
14 // CParameterConnecter interface
15 virtual int OnLoad(QSettings &set) override;
16 virtual int OnSave(QSettings &set) override;
17
18 bool GetShared() const;
19 void SetShared(bool newShared);
20 bool GetEnableCompressLevel() const;
21 void SetEnableCompressLevel(bool newCompressLevel);
22 int GetCompressLevel() const;
23 void SetCompressLevel(int newCompressLevel);
24 bool GetJpeg() const;
25 void SetJpeg(bool newJpeg);
26 int GetQualityLevel() const;
27 void SetQualityLevel(int newQualityLevel);
28
29private:
30 bool m_bShared;
31 bool m_bCompressLevel;
32 int m_nCompressLevel;
33 bool m_bJpeg;
34 int m_bQualityLevel;
35};
36
37#endif // CPARAMETERLIBVNCSERVER_H
连接基础参数接口。包括基本参数(网络参数等)。 所有插件的连接参数都应从此类派生。