s60mmflabapplication.cpp

来自「symbianOS第三版开发与实用教程部分源码和部分试验」· C++ 代码 · 共 37 行

CPP
37
字号
// Copyright (c) 2006 Nokia Corporation.

// INCLUDE FILES
#include "S60MMFLabDocument.h"
#include "S60MMFLabApplication.h"

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

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

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

// -----------------------------------------------------------------------------
// CS60MMFLabApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CS60MMFLabApplication::AppDllUid() const
    {
    // Return the UID for the S60MMFLab application
    return KUidS60MMFLabApp;
    }

// End of File

⌨️ 快捷键说明

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