mycolumnlistboxdocument.cpp

来自「VC++ 开发的基于Symbian 手机系统的应用」· C++ 代码 · 共 44 行

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

#include "MyColumnListBoxAppUi.h"
#include "MyColumnListBoxDocument.h"


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

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

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

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

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

CEikAppUi* CMyColumnListBoxDocument::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) CMyColumnListBoxAppUi));
    }

⌨️ 快捷键说明

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