YYClientSDK  beta 1.15
 全部  函数 枚举 枚举值
Public 类型 | Public 成员函数 | 所有成员列表
yy::IChannelTemplate结构体 参考abstract

[interface]模版接口 提供创建模版,关闭模版等接口 更多...

#include <yy-api-client.h>

Public 类型

enum  ETemplateType { FULL_TEMPLATE = 0, EMBED_TEMPLATE }
 

Public 成员函数

virtual int CreateTemplate (unsigned long &h, unsigned int &x, unsigned int &y, unsigned int &width, unsigned int &height, bool &visible)=0
 创建模板 /*!
 
virtual int CloseTemplate ()=0
 关闭模板
 
virtual int RegisterTemplateEvent (ISubWindowEvent *e)=0
 注册模板事件
 
virtual int UnRegisterTemplateEvent (ISubWindowEvent *e)=0
 反注册模板事件
 
virtual int CreateTemplateEx (ETemplateType type, unsigned long &h, unsigned int &x, unsigned int &y, unsigned int &width, unsigned int &height, bool &visible)=0
 创建模板 全频道模式
 

详细描述

[interface]模版接口 提供创建模版,关闭模版等接口

成员函数说明

virtual int yy::IChannelTemplate::CloseTemplate ( )
pure virtual

关闭模板

返回
int, 0 success,其他值 error,查看错误代码表
virtual int yy::IChannelTemplate::CreateTemplate ( unsigned long &  h,
unsigned int &  x,
unsigned int &  y,
unsigned int &  width,
unsigned int &  height,
bool &  visible 
)
pure virtual

创建模板 /*!

参数
unsignedlong &h [inout], Window HANDLE 引用
unsignedint &x [inout], 子窗口 x 位置
unsignedint &y [inout], 子窗口 y 位置
unsignedint &width [inout], 子窗口 宽
unsignedint &height [inout], 子窗口 高
bool&visible [inout], 是否显示
返回
int, 0 success,其他值 error,查看错误代码表
virtual int yy::IChannelTemplate::CreateTemplateEx ( ETemplateType  type,
unsigned long &  h,
unsigned int &  x,
unsigned int &  y,
unsigned int &  width,
unsigned int &  height,
bool &  visible 
)
pure virtual

创建模板 全频道模式

参数
ETemplateTypetype,模板窗口类型
unsignedlong &h [inout], Window HANDLE 引用
unsignedint &x [inout], 子窗口 x 位置
unsignedint &y [inout], 子窗口 y 位置
unsignedint &width [inout], 子窗口 宽
unsignedint &height [inout], 子窗口 高
bool&visible [inout], 是否显示
返回
int, 0 success,其他值 error,查看错误代码表
virtual int yy::IChannelTemplate::RegisterTemplateEvent ( ISubWindowEvent e)
pure virtual

注册模板事件

参数
ISubWindowEvent* e [in] [not NULL]
返回
int, 0 success,其他值 error,查看错误代码表
virtual int yy::IChannelTemplate::UnRegisterTemplateEvent ( ISubWindowEvent e)
pure virtual

反注册模板事件

参数
ISubWindowEvent* e [in] [not NULL]
返回
int, 0 success,其他值 error,查看错误代码表