dynamiclistdocument.cpp

来自「《基于symbian手机开发与应用》一书的源代码」· C++ 代码 · 共 63 行

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

// INCLUDE FILES

// Class include
#include "DynamicListDocument.h"

// User includes
#include "DynamicListAppUi.h"	// CDynamicListAppUi

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

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

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

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

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

// End of File	

⌨️ 快捷键说明

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