?? 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 + -