📄 multiviewsdocument.cpp
字号:
/* Copyright (c) 2004, Nokia. All rights reserved */
// INCLUDE FILES
#include "MultiViewsAppUi.h"
#include "MultiViewsDocument.h"
// ========================= MEMBER FUNCTIONS ==================================
// -----------------------------------------------------------------------------
// CMultiViewsDocument::CMultiViewsDocument()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CMultiViewsDocument::CMultiViewsDocument( CEikApplication& aApp ) :
CAknDocument( aApp )
{
// No implementation required
}
// -----------------------------------------------------------------------------
// CMultiViewsDocument::NewL()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CMultiViewsDocument* CMultiViewsDocument::NewL( CEikApplication& aApp )
{
CMultiViewsDocument* self = NewLC( aApp );
CleanupStack::Pop( self );
return self;
}
// -----------------------------------------------------------------------------
// CMultiViewsDocument::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CMultiViewsDocument* CMultiViewsDocument::NewLC( CEikApplication& aApp )
{
CMultiViewsDocument* self = new ( ELeave ) CMultiViewsDocument( aApp );
CleanupStack::PushL( self );
self->ConstructL();
return self;
}
// -----------------------------------------------------------------------------
// CMultiViewsDocument::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CMultiViewsDocument::ConstructL()
{
// No implementation required
}
// -----------------------------------------------------------------------------
// CMultiViewsDocument::~CMultiViewsDocument()
// Destructor.
// -----------------------------------------------------------------------------
//
CMultiViewsDocument::~CMultiViewsDocument()
{
// No implementation required
}
// -----------------------------------------------------------------------------
// CMultiViewsDocument::CreateAppUiL()
// Create the application user interface, and return a pointer to it
// -----------------------------------------------------------------------------
//
CEikAppUi* CMultiViewsDocument::CreateAppUiL()
{
return( static_cast<CEikAppUi*>( new ( ELeave ) CMultiViewsAppUi ) );
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -