shapesapp.cpp

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

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

// INCLUDE FILES

// Class includes
#include "ShapesApp.h"

// User includes
#include "ShapesDocument.h"    // CShapesDocument

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

/**
 * @brief From CApaApplication, returns the application's UID (KUidShapes).
 * @return The value of KUidShapes.
 */
TUid CShapesApplication::AppDllUid() const
{
    return KUidShapes;
}

/**
 * @brief From CApaApplication, creates a CShapesDocument object.
 * @return A pointer to the created document object.
 */     
CApaDocument* CShapesApplication::CreateDocumentL()
{
    return CShapesDocument::NewL(*this);
}

// ================= OTHER EXPORTED FUNCTIONS ==============

/**
 * Constructs a CShapesApplication.  
 * @return A pointer to the application object.
 */
EXPORT_C CApaApplication* NewApplication()
{
    return new CShapesApplication;
}

/**
 * @brief This is the entry point function for this Series 60 application
 * @return KErrNone No error
 */
GLDEF_C TInt E32Dll(TDllReason)
{
    return KErrNone;
}

// End of File  

⌨️ 快捷键说明

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