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

📄 shapeinterface.inl

📁 symbian操作系统应用程序开发 作者周忠良
💻 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 + -