ldleniefeilongdocument.cpp

来自「symbian 视图切换源代码,很有学习价值」· C++ 代码 · 共 44 行

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

#include "LDLENieFeiLongAppUi.h"
#include "LDLENieFeiLongDocument.h"


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

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

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

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

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

CEikAppUi* CLDLENieFeiLongDocument::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) CLDLENieFeiLongAppUi));
    }

⌨️ 快捷键说明

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