listdlgdocument.cpp

来自「最新官方例子,图形,描述副,基本控件,通讯协议,等等,」· C++ 代码 · 共 63 行

CPP
63
字号
/**
* 
* @brief Definition of CListDlgDocument
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/

// INCLUDE FILES

// Class include
#include "ListDlgDocument.h"

// User includes
#include "ListDlgAppUi.h"	// CListDlgAppUi

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

/**
* Constructs the document for aApp
*
* @param aApp for which the document is constructed
*/
CListDlgDocument::CListDlgDocument(CEikApplication& aApp)
: CAknDocument(aApp)	
	{
	}

/**
* Symbian OS 2nd phase constructor.
* This is an empty implementation.
*/
void CListDlgDocument::ConstructL()
	{
	}

/**
* Creates the AppUi for this document.
* @return The newly constructed AppUi
*/	 
CEikAppUi* CListDlgDocument::CreateAppUiL()
	{
	return new (ELeave) CListDlgAppUi;
	}

/**
* Symbian OS 2 phase constructor.
* Constructs the CListDlgDocument using the constructor and the ConstructL 
* method.
* @param aApp for which the CListDlgDocument is constructed
* @return The newly constructed CListDlgDocument
*/
CListDlgDocument* CListDlgDocument::NewL(CEikApplication& aApp) 	
	{
	CListDlgDocument* self = new (ELeave) CListDlgDocument(aApp);
	CleanupStack::PushL(self);
	self->ConstructL();
	CleanupStack::Pop(self);
	return self;
	}

// End of File	

⌨️ 快捷键说明

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