webclientdocument.cpp

来自「介绍一个简单的WEb应用你可以此功能 的基础上做更多的操作功能」· C++ 代码 · 共 87 行

CPP
87
字号
/*
* ==============================================================================
*  Name        : WebClientDocument.cpp
*  Part of     : WebClient
*  Interface   : 
*  Description : 
*  Version     : 
*
*  Copyright (c) 2005-2006 Nokia Corporation.
*  This material, including documentation and any related 
*  computer programs, is protected by copyright controlled by 
*  Nokia Corporation.
* ==============================================================================
*/

// INCLUDE FILES
#include "WebClientAppUi.h"
#include "WebClientDocument.h"

// ----------------------------------------------------------------------------
// CWebClientDocument::NewL()
// Creates instance of CWebClientDocument.
// ----------------------------------------------------------------------------
//
CWebClientDocument* CWebClientDocument::NewL( CEikApplication& aApp )
    {
    CWebClientDocument* self = NewLC( aApp );
    CleanupStack::Pop( self );
    return self;
    }

// ----------------------------------------------------------------------------
// CWebClientDocument::NewLC()
// Creates instance of CWebClientDocument.
// ----------------------------------------------------------------------------
//
CWebClientDocument* CWebClientDocument::NewLC( CEikApplication& aApp )
    {
    CWebClientDocument* self = new (ELeave) CWebClientDocument( aApp );
    CleanupStack::PushL( self );
    self->ConstructL();
    return self;
    }

// ----------------------------------------------------------------------------
// CWebClientDocument::ConstructL()
// Second phase construction.
// ----------------------------------------------------------------------------
//
void CWebClientDocument::ConstructL()
    {
    // no implementation required
    }

// ----------------------------------------------------------------------------
// CWebClientDocument::CWebClientDocument()
// First phase construction.
// ----------------------------------------------------------------------------
//
CWebClientDocument::CWebClientDocument( CEikApplication& aApp ) 
: CAknDocument( aApp ) 
    {
    // no implementation required
    }

// ----------------------------------------------------------------------------
// CWebClientDocument::~CWebClientDocument()
// Destructor.
// ----------------------------------------------------------------------------
//
CWebClientDocument::~CWebClientDocument()
    {
    // no implementation required
    }

// ----------------------------------------------------------------------------
// CWebClientDocument::CreateAppUiL()
// Creates the application user interface, and returns a pointer to it,
// the framework takes ownership of this object
// ----------------------------------------------------------------------------
//
CEikAppUi* CWebClientDocument::CreateAppUiL()
    {
    return ( static_cast <CEikAppUi*> ( new (ELeave) CWebClientAppUi )); 
    }

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?