aknexlistdocument.cpp

来自「symbian ui的 例子 初学者可以 好好看看,这个是培训的资料,应该比较宝」· C++ 代码 · 共 62 行

CPP
62
字号
/*  Copyright (c) 2005, Nokia. All rights reserved */

// INCLUDE FILES
#include "AknExListDocument.h"
#include "AknExListAppUi.h"

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

// ----------------------------------------------------------------------------
// CAknExListDocument::NewL()
// Symbian two-phased constructor.
// ----------------------------------------------------------------------------
//
CAknExListDocument* CAknExListDocument::NewL( CEikApplication& aApp )
    {
    CAknExListDocument* self = new ( ELeave ) CAknExListDocument( aApp );
    CleanupStack::PushL( self ); // Pushes document to clean-up stack.
    self->ConstructL();
    CleanupStack::Pop(); // Pops from clean-up stack.
    return self;
    }

// ----------------------------------------------------------------------------
// CAknExListDocument::~CAknExListDocument()
// Destructor.
// ----------------------------------------------------------------------------
//
CAknExListDocument::~CAknExListDocument()
    {
    }

// ----------------------------------------------------------------------------
// CAknExListDocument::CAknExListDocument()
// Overload constructor.
// ----------------------------------------------------------------------------
//
CAknExListDocument::CAknExListDocument( CEikApplication& aApp )
: CEikDocument( aApp )
    {
    }

// ----------------------------------------------------------------------------
// CAknExListDocument::ConstructL()
// Symbian constructor.
// ----------------------------------------------------------------------------
//
void CAknExListDocument::ConstructL()
    {
    }

// ----------------------------------------------------------------------------
// CAknExListDocument::CreateAppUiL()
// Constructs CAknExListAppUi.
// ----------------------------------------------------------------------------
//
CEikAppUi* CAknExListDocument::CreateAppUiL()
    {
    return new ( ELeave ) CAknExListAppUi;
    }

// End of File

⌨️ 快捷键说明

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