📄 helpexampledocument.cpp
字号:
/*
* ==============================================================================
* Name : helpexampledocument.cpp
* Part of : Help example
* Interface :
* Description :
* Version :
*
* Copyright (c) 2004 - 2006 Nokia Corporation.
* This material, including documentation and any related
* computer programs, is protected by copyright controlled by
* Nokia Corporation.
* ==============================================================================
*/
// INCLUDE FILES
#include "HelpExampleAppUi.h"
#include "HelpExampleDocument.h"
// ============================ MEMBER FUNCTIONS ===============================
// -----------------------------------------------------------------------------
// CHelpExampleDocument::NewL()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CHelpExampleDocument* CHelpExampleDocument::NewL( CEikApplication& aApp )
{
CHelpExampleDocument* self = NewLC( aApp );
CleanupStack::Pop( self );
return self;
}
// -----------------------------------------------------------------------------
// CHelpExampleDocument::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CHelpExampleDocument* CHelpExampleDocument::NewLC( CEikApplication& aApp )
{
CHelpExampleDocument* self = new ( ELeave ) CHelpExampleDocument( aApp );
CleanupStack::PushL( self );
self->ConstructL();
return self;
}
// ----------------------------------------------------------------------------
// CHelpExampleDocument::ConstructL()
// 2nd phase construction
// ----------------------------------------------------------------------------
//
void CHelpExampleDocument::ConstructL()
{
// No implementation required
}
// ----------------------------------------------------------------------------
// CHelpExampleDocument::CHelpExampleDocument()
// Constructor.
// ----------------------------------------------------------------------------
//
CHelpExampleDocument::CHelpExampleDocument( CEikApplication& aApp ):
CAknDocument( aApp )
{
// No implementation required
}
// ----------------------------------------------------------------------------
// CHelpExampleDocument::~CHelpExampleDocument()
// Destructor.
// ----------------------------------------------------------------------------
//
CHelpExampleDocument::~CHelpExampleDocument()
{
// No implementation required
}
// ----------------------------------------------------------------------------
// CHelpExampleDocument::CreateAppUiL()
// Create the application user interface, and return a pointer to it;
// the framework takes ownership of this object
// ----------------------------------------------------------------------------
//
CEikAppUi* CHelpExampleDocument::CreateAppUiL()
{
return ( static_cast<CEikAppUi*> ( new ( ELeave ) CHelpExampleAppUi ) );
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -