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

📄 gatewayextension.h

📁 使用C++开发Brew 应用扩展模块例子。
💻 H
字号:
//         VITULAR Information Techongy CO.,Ltd
//         All Rights Reserved.
//         2005/03/25
#ifndef __GATEWAYEXTENSION_H__
#define __GATEWAYEXTENSION_H__

#include "AEE.h"			// Standard AEE definitions
#include "AEEShell.h"		// AEE Shell Services
#include "AEEAppgen.h"		// Madatory include
#include "AEEModgen.h"		// Mandatory include
#include "AEEHeap.h"		// Memory interface
#include "AEEStdlib.h"		// BREW's standard library
#include "AEEDisp.h"		// Display interface

#include "GATEWAYEXTENSION.bid" //Classid definition

#define GATEWAYEXTENSION_CLSID	AEECLSID_GATEWAYEXTENSION

// Extension Class typedef
typedef struct _IGatewayExtension IGatewayExtension;

//********************************************************************************************************************************
//
// IGatewayExtension Interface Definition
//
//********************************************************************************************************************************
class IGatewayExtension : public IBase{
	int		DrawSmiley(IGatewayExtension * po, AEEPoint ptCenter, int nRadius);
}
/*
QINTERFACE(IGatewayExtension)
{
	DECLARE_IBASE(IGatewayExtension)
	int		(*DrawSmiley)(IGatewayExtension * po, AEEPoint ptCenter, int nRadius);
//	int		(*DrawHello)(IGatewayExtension * po, AEEPoint ptXYOffset);
};
*/

#define IGatewayExt_AddRef(p)				      	GET_PVTBL(p,IGatewayExtension)->AddRef(p)
#define IGatewayExt_Release(p)					    GET_PVTBL(p,IGatewayExtension)->Release(p)
#define IEXTCLS_DrawSmiley(p,ptC,nR)				GET_PVTBL(p,IExtensionCls)->DrawSmiley(p,ptC,nR)
//#define IEXTCLS_DrawHello(p,ptC)				   GET_PVTBL(p,IExtensionCls)->DrawHello(p,ptC)


/*=====================================================================
  INTERFACES   DOCUMENTATION
======================================================================= 



=======================================================================*/

#endif  //__EXTENSIONCLS_H__

⌨️ 快捷键说明

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