📄 dialerdocument.cpp
字号:
/* Copyright (c) 2004, Nokia. All rights reserved */
// INCLUDE FILES
#include "DialerAppUi.h"
#include "DialerDocument.h"
// ============================ MEMBER FUNCTIONS ===============================
// -----------------------------------------------------------------------------
// CDialerDocument::NewL()
// Two-phased constructor.
// Standard construction sequence.
// -----------------------------------------------------------------------------
//
CDialerDocument* CDialerDocument::NewL( CEikApplication& aApp )
{
CDialerDocument* self = NewLC( aApp );
CleanupStack::Pop();
return self;
}
// -----------------------------------------------------------------------------
// CDialerDocument::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CDialerDocument* CDialerDocument::NewLC( CEikApplication& aApp )
{
CDialerDocument* self = new ( ELeave ) CDialerDocument( aApp );
CleanupStack::PushL( self );
self->ConstructL();
return self;
}
// -----------------------------------------------------------------------------
// CDialerDocument::ConstructL()
// 2nd phase construction
// -----------------------------------------------------------------------------
//
void CDialerDocument::ConstructL()
{
// Add any construction that can leave here
}
// -----------------------------------------------------------------------------
// CDialerDocument::CDialerDocument()
// Constructor.
// -----------------------------------------------------------------------------
//
CDialerDocument::CDialerDocument( CEikApplication& aApp ) : CEikDocument( aApp )
{
// Add any construction that can not leave here
}
// -----------------------------------------------------------------------------
// CDialerDocument::~CDialerDocument()
// Destructor.
// -----------------------------------------------------------------------------
//
CDialerDocument::~CDialerDocument()
{
// Add any destruction code here
}
// -----------------------------------------------------------------------------
// CDialerDocument::CreateAppUiL()
// Create the application user interface, and return a pointer to it;
// the framework takes ownership of this object
// -----------------------------------------------------------------------------
//
CEikAppUi* CDialerDocument::CreateAppUiL()
{
// Create the application user interface, and return a pointer to it
CEikAppUi* appUi = new ( ELeave ) CDialerAppUi;
return appUi;
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -