choicelistexapp.cpp

来自「symbian touch ChoiceList 示例」· C++ 代码 · 共 42 行

CPP
42
字号
/**
 * Copyright (c) 2007 Nokia Corporation.
 * This material, including documentation and any related
 * computer programs, is protected by
 * copyright controlled by Nokia Corporation.
 */

// INCLUDE FILES
#include "ChoiceListExApp.h"
#include "ChoiceListExDocument.h"


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

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

// -----------------------------------------------------------------------------
// CChoiceListExApp::CreateDocumentL()
// Creates CApaDocument object
// -----------------------------------------------------------------------------
//
CApaDocument* CChoiceListExApp::CreateDocumentL()
    {  
    // Create an ChoiceListEx document, and return a pointer to it
    CApaDocument* document = CChoiceListExDocument::NewL( *this );
    return document;
    }

// -----------------------------------------------------------------------------
// CChoiceListExApp::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CChoiceListExApp::AppDllUid() const
    {
    // Return the UID for the ChoiceListEx application
    return KUidChoiceListExApp;
    }

⌨️ 快捷键说明

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