shapesdocument.cpp

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

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

// INCLUDE FILES

// Class includes
#include "ShapesDocument.h"

// User includes
#include "ShapesAppUi.h"	// CShapesAppUi

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

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

/**
 * Destructor. 
 * This is an empty implementation.
 */
CShapesDocument::~CShapesDocument()
	{
	}

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

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

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

// End of File  

⌨️ 快捷键说明

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