⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tollqry.h

📁 计费查询程序
💻 H
字号:
#if !defined(AFX_TOLLQRY_H__55DD5638_671C_11D1_9EFF_00805F6D3C95__INCLUDED_)
#define AFX_TOLLQRY_H__55DD5638_671C_11D1_9EFF_00805F6D3C95__INCLUDED_

// TOLLQRY.H - Header file for your Internet Server
//    Tollqry Extension

#include "resource.h"
#include "tolldef.h"
#include "tollerinfo.h"


class CTollqryExtension : public CHttpServer
{
public:
	CTollqryExtension();
	~CTollqryExtension();

//my data and operations
public:
	CString sDebugInfo;
	BOOL	m_bDatabaseUpdated;
	int		nCostPerKB;

	//attributes
	CObList	tollerList;

	//the special user's login name list
	CStringList	SpecialUserList;

public:
//operations:load and save special user list
	void	InitSpecialUserList();
	void	LoadSpecialUserList();
	BOOL	IsSpecialUser(CString loginName);

public:
	CString GetTollerBeginDate();

public:
	//operations
	void LoadTollerDatabase();
	void FreeTollerList();
	BOOL Query(CString sLoginName,
			   CTollerInfo& tollerInfo);

	void DoQuery(CHttpServerContext* pCtxt, 
		 LPCTSTR pszName);

// Overrides
	// ClassWizard generated virtual function overrides
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//{{AFX_VIRTUAL(CTollqryExtension)
	public:
	virtual BOOL GetExtensionVersion(HSE_VERSION_INFO* pVer);
	//}}AFX_VIRTUAL

	// TODO: Add handlers for your commands here.
	// For example:

	BOOL LoadLongResource(CString& str, UINT nID);
	void Default(CHttpServerContext* pCtxt);
	void WritePageTitle(CHttpServerContext* pCtxt);


	

	DECLARE_PARSE_MAP()

	//{{AFX_MSG(CTollqryExtension)
	//}}AFX_MSG
};


//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TOLLQRY_H__55DD5638_671C_11D1_9EFF_00805F6D3C95__INCLUDED)

⌨️ 快捷键说明

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