mopoiddocument.cpp

来自「mopoid game symbian os application devel」· C++ 代码 · 共 60 行

CPP
60
字号
/*
========================================================================
 Name        : MopoidDocument.cpp
 Author      :
 Copyright   : 
 Description : Declares document class for application.
 License     : 
 
========================================================================
*/
// [[[ begin generated region: do not modify [Generated User Includes]
#include "MopoidDocument.h"
#include "MopoidAppUi.h"
// ]]] end generated region [Generated User Includes]

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

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

⌨️ 快捷键说明

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