point24document.cpp
来自「symbian平台下的24点游戏编程 很适合初学者的例子」· C++ 代码 · 共 57 行
CPP
57 行
/*
========================================================================
Name : Point24Document.cpp
Author : luomao2000
Copyright : luomao2000@tom.com
Reserved
Description :
========================================================================
*/
#include "Point24Document.h"
#include "Point24AppUi.h"
/**
* @brief Constructs the document class for the application.
* @param anApplication the application instance
*/
CPoint24Document::CPoint24Document( CEikApplication& anApplication )
: CAknDocument( anApplication )
{
}
/**
* @brief Completes the second phase of Symbian object construction.
* Put initialization code that could leave here.
*/
void CPoint24Document::ConstructL()
{
}
/**
* Symbian OS two-phase constructor.
*
* Creates an instance of CPoint24Document, constructs it, and
* returns it.
*
* @param aApp the application instance
* @return the new CPoint24Document
*/
CPoint24Document* CPoint24Document::NewL( CEikApplication& aApp )
{
CPoint24Document* self = new ( ELeave ) CPoint24Document( 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* CPoint24Document::CreateAppUiL()
{
return new ( ELeave ) CPoint24AppUi;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?