-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathConfig.h
59 lines (52 loc) · 1.1 KB
/
Config.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#pragma once
#include "RWIni.h"
//系统配置
struct SSystemConfig{
// port
int portPC;
int portDevice;
int portAudio;
int portOut;
int portOut2;
int portEvtListen;
int portEvtSend;
int portOuterBCControl;
// IP
char IP_Server[MAX_PATH]; // MAX_PATH==260指的是包含目录到文件名的全路径字符长度。
char IP_MIC[MAX_PATH];
char IP_MIC_RECORD[MAX_PATH];
char IP_AUX[MAX_PATH];
char IP_Monitor[MAX_PATH];
char path[MAX_PATH];
char pathRecord[MAX_PATH];
char IP_Out[MAX_PATH];
char IP_Out2[MAX_PATH];
char CallA[MAX_PATH];
char CallB[MAX_PATH];
char Outer[MAX_PATH];
char title[MAX_PATH];
char signL[MAX_PATH];
char signR[MAX_PATH];
char IP_OUTER_BC_CONTROL[MAX_PATH];
int nPlayTime;
int nMainSystem; //主控系统权限大
int bHttpConnect;
int nNetOF;
//int nVolume;
int nRecord;//是否录音
int nJT; // 监听是否开启
int nPop; // 呼叫处理弹出框
};
#define MAX_PLAY_TIME (5)
class CConfig
{
public:
CConfig(void);
~CConfig(void);
void ReadConfig();
void SaveConfig();
public:
SSystemConfig m_SystemConfig;
public:
CRWIni m_ini;
};