helloworldbasicapplication.cpp

来自「这是Symbian平台下实现Base64编解码的源码.」· C++ 代码 · 共 51 行

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

// INCLUDE FILES
#include "HelloWorldBasicDocument.h"
#include "HelloWorldBasicApplication.h"

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

// UID for the application;
// this should correspond to the uid defined in the mmp file
const TUid KUidHelloWorldBasicApp = { 0xA000017F };

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

// -----------------------------------------------------------------------------
// CHelloWorldBasicApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CHelloWorldBasicApplication::AppDllUid() const
    {
    // Return the UID for the HelloWorldBasic application
    return KUidHelloWorldBasicApp;
    }

// End of File

⌨️ 快捷键说明

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