s60testdocument.cpp
来自「使用symbian的s60实现的小游戏俄罗斯方块(第一步)」· C++ 代码 · 共 41 行
CPP
41 行
#include "S60TestAppUi.h"
#include "S60TestDocument.h"
// Standard Symbian OS construction sequence
CS60TestDocument *CS60TestDocument::NewL(CEikApplication& aApp)
{
CS60TestDocument *self=NewLC(aApp);
CleanupStack::Pop(self);
return self;
}
CS60TestDocument *CS60TestDocument::NewLC(CEikApplication& aApp)
{
CS60TestDocument *self=new(ELeave) CS60TestDocument(aApp);
CleanupStack::PushL(self);
self->ConstructL();
return self;
}
void CS60TestDocument::ConstructL()
{
}
CS60TestDocument::CS60TestDocument(CEikApplication& aApp)
:CAknDocument(aApp)
{
}
CS60TestDocument::~CS60TestDocument()
{
}
CEikAppUi *CS60TestDocument::CreateAppUiL()
{
// Create the application user interface, and return a pointer to it,
// the framework takes ownership of this object
iAppUi=new(ELeave) CS60TestAppUi(this);
return iAppUi;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?