hwrmtestappdocument.cpp
来自「平台symbian。 功能:获取系统信息。」· C++ 代码 · 共 75 行
CPP
75 行
/*
* ==============================================================================
* Name : HWRMTestAppDocument.h
* Part of : HWRMTestApp
* Interface :
* Description : HWRM Test application document implementation
* Version :
*
* Copyright (c) 2002-2006 Nokia Corporation.
* This material, including documentation and any related
* computer programs, is protected by copyright controlled by
* Nokia Corporation.
* ==============================================================================
*/
// INCLUDE FILES
#include "HWRMTestAppDocument.h"
#include "HWRMTestAppAppUi.h"
// ============================ MEMBER FUNCTIONS ===============================
// -----------------------------------------------------------------------------
// CHWRMTestAppDocument::CHWRMTestAppDocument
// C++ default constructor can NOT contain any code, that
// might leave.
// -----------------------------------------------------------------------------
//
CHWRMTestAppDocument::CHWRMTestAppDocument(CEikApplication& aApp)
: CAknDocument(aApp)
{
}
// -----------------------------------------------------------------------------
// CHWRMTestAppDocument::~CHWRMTestAppDocument
// Destructor
// -----------------------------------------------------------------------------
//
CHWRMTestAppDocument::~CHWRMTestAppDocument()
{
}
// EPOC default constructor can leave.
void CHWRMTestAppDocument::ConstructL()
{
}
// -----------------------------------------------------------------------------
// CHWRMServer::ConstructL
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
CHWRMTestAppDocument* CHWRMTestAppDocument::NewL(
CEikApplication& aApp) // CHWRMTestAppApp reference
{
CHWRMTestAppDocument* self = new (ELeave) CHWRMTestAppDocument( aApp );
CleanupStack::PushL( self );
self->ConstructL();
CleanupStack::Pop();
return self;
}
// -----------------------------------------------------------------------------
// CHWRMTestAppDocument::CreateAppUiL
// constructs CHWRMTestAppAppUi
// -----------------------------------------------------------------------------
//
CEikAppUi* CHWRMTestAppDocument::CreateAppUiL()
{
return new (ELeave) CHWRMTestAppAppUi;
}
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?