exercisedocument.cpp

来自「symbian手机开发程序」· C++ 代码 · 共 58 行

CPP
58
字号
/*
========================================================================
 Name        : ExerciseDocument.cpp
 Author      : 
 Copyright   : Your copyright notice
 Description : 
========================================================================
*/
// [[[ begin generated region: do not modify [Generated User Includes]
#include "ExerciseDocument.h"
#include "ExerciseAppUi.h"
// ]]] end generated region [Generated User Includes]

/**
 * @brief Constructs the document class for the application.
 * @param anApplication the application instance
 */
CExerciseDocument::CExerciseDocument( CEikApplication& anApplication )
	: CAknDocument( anApplication )
	{
	}

/**
 * @brief Completes the second phase of Symbian object construction. 
 * Put initialization code that could leave here.  
 */ 
void CExerciseDocument::ConstructL()
	{
	}
	
/**
 * Symbian OS two-phase constructor.
 *
 * Creates an instance of CExerciseDocument, constructs it, and
 * returns it.
 *
 * @param aApp the application instance
 * @return the new CExerciseDocument
 */
CExerciseDocument* CExerciseDocument::NewL( CEikApplication& aApp )
	{
	CExerciseDocument* self = new ( ELeave ) CExerciseDocument( aApp );
	CleanupStack::PushL( self );
	self->ConstructL();
	CleanupStack::Pop( self );
	return self;
	}

/**
 * @brief Creates the application UI object for this document.
 * @return the new instance
 */	
CEikAppUi* CExerciseDocument::CreateAppUiL()
	{
	return new ( ELeave ) CExerciseAppUi;
	}
				

⌨️ 快捷键说明

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