servicelist.h

来自「关于联通的一个统一定制程序」· C头文件 代码 · 共 43 行

H
43
字号
// GWInfo.h: interface for the CGWInfo class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_GWINFO_H__AC8A1D44_F6EF_4BE1_8955_8EF744BF170A__INCLUDED_)
#define AFX_GWINFO_H__AC8A1D44_F6EF_4BE1_8955_8EF744BF170A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

//#include "afxmt.h"
#include "List"
using namespace std;

class CServiceInfo  
{
public:
	typedef struct _tag_ServiceInfo
	{
		CString szGWID;
		CString szService;
		CString szService2;
		CString szFeeType;
		CString szFeeCode;
		int nType;
	}SERVICEINFO, *LPSERVICEINFO;
	CServiceInfo();
	virtual ~CServiceInfo();

	int GetServiceInfo(LPSERVICEINFO pInfo);
	int Reflesh(CString& szMsg);

private:
	int Update(CString& szMsg);
//	int UpdateKey(LPSERVICEINFO pKey);
	CCriticalSection	m_SectKey;
	list<SERVICEINFO>	m_KeyList;
	CTime				m_tmLast;
};

#endif // !defined(AFX_GWINFO_H__AC8A1D44_F6EF_4BE1_8955_8EF744BF170A__INCLUDED_)

⌨️ 快捷键说明

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