clientdocument.cpp
来自「symbian os手机程序开发」· C++ 代码 · 共 79 行
CPP
79 行
/*
* ============================================================================
* Name : CClientDocument of ClientDocument.cpp
* Part of : HTTP Client Example
* Created : 06/20/2006 by Forum Nokia
* Version : 2.0
* Copyright: Forum Nokia
* ============================================================================
*/
#include "ClientAppUi.h"
#include "ClientDocument.h"
// ----------------------------------------------------------------------------
// CClientDocument::NewL()
//
// Creates instance of CClientDocument.
// ----------------------------------------------------------------------------
CClientDocument* CClientDocument::NewL(CEikApplication& aApp)
{
CClientDocument* self = NewLC(aApp);
CleanupStack::Pop(self);
return self;
}
// ----------------------------------------------------------------------------
// CClientDocument::NewLC()
//
// Creates instance of CClientDocument.
// ----------------------------------------------------------------------------
CClientDocument* CClientDocument::NewLC(CEikApplication& aApp)
{
CClientDocument* self = new (ELeave) CClientDocument(aApp);
CleanupStack::PushL(self);
self->ConstructL();
return self;
}
// ----------------------------------------------------------------------------
// CClientDocument::ConstructL()
//
// Second phase construction.
// ----------------------------------------------------------------------------
void CClientDocument::ConstructL()
{
}
// ----------------------------------------------------------------------------
// CClientDocument::CClientDocument()
//
// First phase construction.
// ----------------------------------------------------------------------------
CClientDocument::CClientDocument(CEikApplication& aApp)
: CAknDocument(aApp)
{
}
// ----------------------------------------------------------------------------
// CClientDocument::~CClientDocument()
//
// Destructor.
// ----------------------------------------------------------------------------
CClientDocument::~CClientDocument()
{
}
// ----------------------------------------------------------------------------
// CClientDocument::CreateAppUiL()
//
// Creates the application user interface, and returns a pointer to it;
// the framework takes ownership of this object
// ----------------------------------------------------------------------------
CEikAppUi* CClientDocument::CreateAppUiL()
{
return (static_cast <CEikAppUi*> (new (ELeave) CClientAppUi));
}
// end of file
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?