ldcno17document.cpp

来自「SYmbian GUI 多视图实例」· C++ 代码 · 共 44 行

CPP
44
字号
/* Copyright (c) 2008, Nokia. All rights reserved */

#include "LDCNO17AppUi.h"
#include "LDCNO17Document.h"


CLDCNO17Document* CLDCNO17Document::NewL(CEikApplication& aApp)
    {
    CLDCNO17Document* self = NewLC(aApp);
    CleanupStack::Pop(self);
    return self;
    }

CLDCNO17Document* CLDCNO17Document::NewLC(CEikApplication& aApp)
    {
    CLDCNO17Document* self = new (ELeave) CLDCNO17Document(aApp);
    CleanupStack::PushL(self);
    self->ConstructL();
    return self;
    }

void CLDCNO17Document::ConstructL()
    {
    // Add any construction that can leave here
    }    

CLDCNO17Document::CLDCNO17Document(CEikApplication& aApp) : CAknDocument(aApp) 
    {
    // Add any construction that can not leave here
    }   

CLDCNO17Document::~CLDCNO17Document()
    {
    // Any destruction code here
    }

CEikAppUi* CLDCNO17Document::CreateAppUiL()
    {
    // Create the application user interface, and return a pointer to it;
    // the framework takes ownership of this object
    return (static_cast<CEikAppUi*>(new (ELeave) CLDCNO17AppUi));
    }

⌨️ 快捷键说明

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