mylistboxdocument.cpp

来自「MyListBox Symbian 3rd custom control.」· C++ 代码 · 共 45 行

CPP
45
字号
// --------------------------------------------------------------------------
// MyListBoxDocument.cpp
//
// Copyright 2005, Antony Pranata
// http://www.antonypranata.com
//
// A document class for custom list box example.
// --------------------------------------------------------------------------

// INCLUDE FILES
#include "MyListBoxDocument.h"
#include "MyListBoxAppui.h"

// ================= MEMBER FUNCTIONS =======================

CMyListBoxDocument::CMyListBoxDocument(CEikApplication& aApp)
:CQikDocument(aApp)    
	{
	}

CMyListBoxDocument::~CMyListBoxDocument()
	{
	}

void CMyListBoxDocument::ConstructL()
	{
	}

CMyListBoxDocument* CMyListBoxDocument::NewL(CEikApplication& aApp)
	{
	CMyListBoxDocument* self = new (ELeave) CMyListBoxDocument(aApp);
	CleanupStack::PushL(self);
	self->ConstructL();
	CleanupStack::Pop();

	return self;
	}
    
CEikAppUi* CMyListBoxDocument::CreateAppUiL()
	{
	return new (ELeave) CMyListBoxAppUi;
	}

// End of File  

⌨️ 快捷键说明

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