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

📄 ldmti_12document.cpp

📁 自己做的一个练习的小例子
💻 CPP
字号:
/* Copyright (c) 2008, Nokia. All rights reserved */

#include "LDMTI_12AppUi.h"
#include "LDMTI_12Document.h"


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

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

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

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

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

CEikAppUi* CLDMTI_12Document::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) CLDMTI_12AppUi));
    }

⌨️ 快捷键说明

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