Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
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
The interface of connecter parameters.