mysgipclient.h

来自「用c++编写的的中国联通Sgip协议」· C头文件 代码 · 共 44 行

H
44
字号
/**
*	MySGIPClient.h
*	
*	SGIP API Demo Application.
*
*	Copyright 2003-2007	北京风起水流软件工作室
*	
*	http://www.zealware.com
*	
*	princetoad@gmail.com
*
*/

//#include "stdafx.h"

#include "SGIPAPIDemo.h"
#include "SGIPAPIDemoDlg.h"

/** 包含必要的头文件和库文件
*/
#include <sgip/sgipapi.h>
#ifdef _DEBUG
#pragma comment(lib, "zealware_sgipd")
#else
#pragma comment(lib, "zealware_sgip")
#endif

class MySGIPClient : public CSgip
{
public:
	MySGIPClient(CSGIPAPIDemoDlg & _dlg);

	virtual ~MySGIPClient();

	int OnDeliver(DeliverStr & deliver);
	int OnReport(ReportStr & report);
	int OnResponse(MTRespStr & response);
	int OnMTError(MTErrorStr & mterror);
	int OnLogWrite(LPCTSTR pchFmt, ...);

protected:
	CSGIPAPIDemoDlg & dlg;
	//@}
};

⌨️ 快捷键说明

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