⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 choicelistexdocument.cpp

📁 symbian touch ChoiceList 示例
💻 CPP
字号:
/**
 * 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 "ChoiceListExAppUi.h"
#include "ChoiceListExDocument.h"


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

// -----------------------------------------------------------------------------
// CChoiceListExDocument::NewL()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CChoiceListExDocument* CChoiceListExDocument::NewL( CEikApplication& aApp )
    {
    CChoiceListExDocument* self = NewLC( aApp );
    CleanupStack::Pop( self );
    return self;
    }

// -----------------------------------------------------------------------------
// CChoiceListExDocument::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CChoiceListExDocument* CChoiceListExDocument::NewLC( CEikApplication& aApp )
    {
    CChoiceListExDocument* self = new ( ELeave ) CChoiceListExDocument( aApp );
    CleanupStack::PushL( self );
    self->ConstructL();
    return self;
    }

// -----------------------------------------------------------------------------
// CChoiceListExDocument::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CChoiceListExDocument::ConstructL()
    {
	// no implementation required
    }    

// -----------------------------------------------------------------------------
// CChoiceListExDocument::CChoiceListExDocument()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CChoiceListExDocument::CChoiceListExDocument( CEikApplication& aApp ) : CAknDocument( aApp ) 
    {
	// no implementation required
    }

// ---------------------------------------------------------------------------
// CChoiceListExDocument::~CChoiceListExDocument()
// Destructor.
// ---------------------------------------------------------------------------
//
CChoiceListExDocument::~CChoiceListExDocument()
    {
	// no implementation required
    }

// ---------------------------------------------------------------------------
// CChoiceListExDocument::CreateAppUiL()
// Constructs CreateAppUi.
// ---------------------------------------------------------------------------
//
CEikAppUi* CChoiceListExDocument::CreateAppUiL()
    {
    // Create the application user interface, and return a pointer to it,
    // the framework takes ownership of this object
    CEikAppUi* appUi = new ( ELeave ) CChoiceListExAppUi;
    return appUi;
    }

⌨️ 快捷键说明

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