gatewayextension.h

来自「使用C++开发Brew 应用扩展模块例子。」· C头文件 代码 · 共 54 行

H
54
字号
//         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 + =
减小字号Ctrl + -
显示快捷键?