helpexampleapplication.cpp

来自「应用于S60平台的示例程序」· C++ 代码 · 共 46 行

CPP
46
字号
/*
* ==============================================================================
*  Name        : helpexampleapplication.cpp
*  Part of     : Help example
*  Interface   :
*  Description :
*  Version     :
*
*  Copyright (c) 2004 - 2006 Nokia Corporation.
*  This material, including documentation and any related
*  computer programs, is protected by copyright controlled by
*  Nokia Corporation.
* ==============================================================================
*/

// INCLUDE FILES
#include "HelpExampleDocument.h"
#include "HelpExampleApplication.h"

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

// KUidHelpExampleApp is defined in HelpExampleApplication.h
// because CHelpfulForm needs it.

// -----------------------------------------------------------------------------
// CHelpExampleApplication::CreateDocumentL()
// Creates CHelpExampleDocument object.
// -----------------------------------------------------------------------------
//
CApaDocument* CHelpExampleApplication::CreateDocumentL()
    {  
    // Create an HelpExample document, and return a pointer to it
    return ( static_cast<CApaDocument*>( CHelpExampleDocument::NewL ( *this ) ) );
    }

// -----------------------------------------------------------------------------
// CHelpExampleApplication::AppDllUid()
// Returns application UID.
// -----------------------------------------------------------------------------
//
TUid CHelpExampleApplication::AppDllUid() const
    {
    return KUidHelpExampleApp;
    }

// End of File

⌨️ 快捷键说明

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