📄 mysgipclient.h
字号:
/**
* 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>
#if defined(_MSC_VER)
#if _MSC_VER >= 1400 ///< vc8(2005)
#ifdef _DEBUG
#pragma comment(lib, "smalsd_vc8_md")
#else
#pragma comment(lib, "smals_vc8_md")
#endif
#elif _MSC_VER >= 1300 ///< VC7(2003)
#ifdef _DEBUG
#pragma comment(lib, "smalsd_vc71_md")
#else
#pragma comment(lib, "smals_vc71_md")
#endif
#else ///< VC6
#ifdef _DEBUG
#pragma comment(lib, "smalsd_vc6_md")
#else
#pragma comment(lib, "smals_vc6_md")
#endif
#endif
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -