progressnotedocument.cpp

来自「这是个基于SYMBIAN OS上的标准消息通知(NOTE)程序」· C++ 代码 · 共 63 行

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

// INCLUDE FILES

// Class include
#include "ProgressNoteDocument.h"

// User includes
#include "ProgressNoteAppUi.h"	// CProgressNoteAppUi

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

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

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

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

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

// End of File	

⌨️ 快捷键说明

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