You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
602 B
C

#pragma once
#include "module.h"
class CCommonPara
{
public:
CCommonPara(void)
{
m_ParaVal = 0;
};
public:
CString m_ParaName;
double m_ParaVal;
};
//<2F><><EFBFBD>ò<EFBFBD><C3B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
class CCommonParaMgr:public CModule
{
public:
CCommonParaMgr(void);
~CCommonParaMgr(void);
virtual void OnAppInitialize();//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ
double GetCommonParaVal(CString ParName);
private:
void ReadCommonParaFile();
private:
vector<CCommonPara> m_CommonParaVec;
};
extern CCommonParaMgr *gCommonParaMgr;