forked from AgoraIO/Basic-Video-Call
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathagoraconfig.h
39 lines (30 loc) · 800 Bytes
/
agoraconfig.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef CAGORACONFIG_H
#define CAGORACONFIG_H
#include <memory>
#include <QSettings>
class CAgoraConfig
{
public:
CAgoraConfig();
void setAppId(const QString &str);
QString getAppId();
void setChannelName(const QString &str);
QString getChannelName();
void setEnableVideo(bool bEnable);
bool getEnableVideo();
void setEnableAudio(bool bEnable);
bool getEnableAudio();
void setEnableBeauty(bool bEnable);
bool getEnableBeauty();
void setLigtheningContrastLevel(int level);
int getLigtheningContrastLevel();
void setRedness(int level);
int getRedness();
void setLightenging(int lightening);
int getLightenging();
void setSmoothness(int smooth);
int getSmoothness();
private:
std::shared_ptr<QSettings> m_spConfig;
};
#endif // CAGORACONFIG_H