📄 wsexampledocument.cpp
字号:
//
//============================================================================
// Name : CWSExampleDocument from WSExampleDocument.h
// Part of : WSExample
// Created : 10/08/2005 by Forum Nokia
// Implementation notes: Initial content was generated by Series 60 AppWizard.
//
// Version : 1.0
// Copyright: Nokia Corporation
//============================================================================
//
// INCLUDE FILES
#include <t32wld.h>
#include "WSExampleDocument.h"
#include "WSExampleAppUi.h"
// ================= MEMBER FUNCTIONS =======================
// constructor
CWSExampleDocument::CWSExampleDocument(CEikApplication& aApp)
: CAknDocument(aApp)
{
}
// destructor
CWSExampleDocument::~CWSExampleDocument()
{
}
// EPOC default constructor can leave.
void CWSExampleDocument::ConstructL()
{
}
// Two-phased constructor.
CWSExampleDocument* CWSExampleDocument::NewL(
CEikApplication& aApp) // CWSExampleApp reference
{
CWSExampleDocument* self = new (ELeave) CWSExampleDocument( aApp );
CleanupStack::PushL( self );
self->ConstructL();
CleanupStack::Pop();
return self;
}
// ----------------------------------------------------
// CWSExampleDocument::CreateAppUiL()
// constructs CWSExampleAppUi
// ----------------------------------------------------
//
CEikAppUi* CWSExampleDocument::CreateAppUiL()
{
return new (ELeave) CWSExampleAppUi;
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -