ex31a.h

来自「vc++技术内幕第四版(清华版)源码。vc++技术内幕书是vc++的权威书籍」· C头文件 代码 · 共 41 行

H
41
字号
// EX31A.H - Header file for your Internet Server
//    ex31a Extension

#include "resource.h"

class CEx31aExtension : public CHttpServer
{
public:
	CEx31aExtension();
	~CEx31aExtension();
private:
	CCriticalSection m_cs;
	int m_nTotalPizzaOrders;

// 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(CEx31aExtension)
	public:
	virtual BOOL GetExtensionVersion(HSE_VERSION_INFO* pVer);
	virtual LPCTSTR GetTitle() const;
	//}}AFX_VIRTUAL

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

	void Default(CHttpServerContext* pCtxt);
	void ConfirmOrder(CHttpServerContext* pCtxt, LPCTSTR pstrName);
	void ProcessPizzaForm(CHttpServerContext* pCtxt, LPCTSTR pstrName, LPCTSTR pstrAddr, int nQuantity,
			LPCTSTR pstrSize, LPCTSTR pstrTop1, LPCTSTR pstrTop2, LPCTSTR pstrTop3, LPCTSTR pstrTop4);
	void ProcessTimesheet(CHttpServerContext* pCtxt, int nPeriod, LPCTSTR pstrEmployee,
			double dHours, int nJob);

	DECLARE_PARSE_MAP()

	//{{AFX_MSG(CEx31aExtension)
	//}}AFX_MSG
};

⌨️ 快捷键说明

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