⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 simplemenudocument.cpp

📁 symbian下一个目录的例子,对新手有很大帮助
💻 CPP
字号:
/**
* 
* @brief Definition of CSimpleMenuDocument
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/

// INCLUDE FILES

// Class include
#include "SimpleMenuDocument.h"

// User includes
#include "SimpleMenuAppUi.h"	// CSimpleMenuAppUi

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

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

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

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

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

// End of File	

⌨️ 快捷键说明

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