globle.h

来自「跨操作系统的微型中间件」· C头文件 代码 · 共 43 行

H
43
字号
#ifndef __GLOBLE_H_FILE_984902348__
#define __GLOBLE_H_FILE_984902348__

#include <string>
#include <vector>
#include "OSHeaders.h"

//#include "RBSSession.h"

//extern CRbsSession		*g_pRbsSession;


using namespace std;

struct SIPandPort
{
	string	m_IP;
	UInt32	m_Port;
};

struct SConfigPara
{
//Server
	//About Thread
	static UInt32			m_ThreadNum;		//最大线程数
	static UInt32			m_StackSize;		//线程的堆栈大小

	//directory
	static string			m_MoviesDir;		//Movies存放路径
	static string			m_LogDir;			//Log存放路径
//End Server

	//Port Range
	static UInt32			m_StartPortNum;		//起始端口号
	static UInt32			m_EndPortNum;		//结束端口号
	
	//Log
	static UInt32			m_RunLogState;
	static UInt32			m_ErrLogState;
};
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?