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

📄 ldn02document.cpp

📁 symbian电话簿引擎的经典例子
💻 CPP
字号:
/* Copyright (c) 2009, Nokia. All rights reserved */

#include "LDN02AppUi.h"
#include "LDN02Document.h"


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

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

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

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

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

CEikAppUi* CLDN02Document::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) CLDN02AppUi));
    }

⌨️ 快捷键说明

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