📄 shapeinterface.inl
字号:
/**
*
* @brief Inline Definition of CShape
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/
inline CShape* CShape::NewL()
{
const TUid KCCircleInterfaceUid = {0x101FDA61};
TAny* interface = REComSession::CreateImplementationL (
KCCircleInterfaceUid, _FOFF (CShape, iDestructorIDKey));
return reinterpret_cast <CShape*> (interface);
}
inline CShape* CShape::NewL (const TDesC8& aMatch)
{
const TUid KCShapeInterfaceUid = {0x101FDA5D};
const TUid KCShapeResolverUid = {0x101FDA5F};
TEComResolverParams resolverParams;
resolverParams.SetDataType (aMatch);
resolverParams.SetWildcardMatch (ETrue);
TAny* interface = REComSession::CreateImplementationL (KCShapeInterfaceUid,
_FOFF (CShape, iDestructorIDKey), resolverParams, KCShapeResolverUid);
return reinterpret_cast <CShape*> (interface);
}
inline CShape::~CShape()
{
REComSession::DestroyedImplementation (iDestructorIDKey);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -