shapedrawerapplication.cpp

来自「series60 应用程序开发的源代码 series60 应用程序开发的源代码」· C++ 代码 · 共 42 行

CPP
42
字号
/**
 * 
 * @brief Definition of CShapesDrawerApplication
 *
 * Copyright (c) EMCC Software Ltd 2003
 * @version 1.0
 */

//Class Includes
#include "ShapeDrawerApplication.h"

//User Includes
#include "ShapeDrawerDocument.h"

//local constants
const TUid KUidShapeDrawerApp = { 0x101FDA63 };

// ================= MEMBER FUNCTIONS =======================

/**
@function    CreateDocumentL
@abstract Create a CApaDocument object and return a pointer to it
**/
CApaDocument* CShapeDrawerApplication::CreateDocumentL()
{  
    // Create an ShapeDrawer document, and return a pointer to it
    CApaDocument* document = CShapeDrawerDocument::NewL(*this);
    return document;
}

/**
@function    AppDllUid
@abstract Return the application DLL UID value
**/
TUid CShapeDrawerApplication::AppDllUid() const
{
    // Return the UID for the ShapeDrawer application
    return KUidShapeDrawerApp;
}


⌨️ 快捷键说明

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