?? graphicsdocument.cpp
字號:
/* Copyright (c) 2004, Nokia. All rights reserved */
// INCLUDE FILES
#include "GraphicsAppUi.h"
#include "GraphicsDocument.h"
// ============================ MEMBER FUNCTIONS ===============================
// -----------------------------------------------------------------------------
// CGraphicsDocument::CGraphicsDocument()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CGraphicsDocument::CGraphicsDocument( CEikApplication& aApp ) : CEikDocument
( aApp )
{
// No implementation required
}
// -----------------------------------------------------------------------------
// CGraphicsDocument::NewL()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CGraphicsDocument* CGraphicsDocument::NewL( CEikApplication& aApp )
{
CGraphicsDocument* self = NewLC( aApp );
CleanupStack::Pop();
return self;
}
// -----------------------------------------------------------------------------
// CGraphicsDocument::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CGraphicsDocument* CGraphicsDocument::NewLC( CEikApplication& aApp )
{
CGraphicsDocument* self = new ( ELeave ) CGraphicsDocument( aApp );
CleanupStack::PushL( self );
self->ConstructL();
return self;
}
// -----------------------------------------------------------------------------
// CGraphicsDocument::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CGraphicsDocument::ConstructL()
{
// No implementation required
}
// -----------------------------------------------------------------------------
// CGraphicsDocument::~CGraphicsDocument()
// Destructor.
// -----------------------------------------------------------------------------
//
CGraphicsDocument::~CGraphicsDocument()
{
// No implementation required
}
// -----------------------------------------------------------------------------
// CGraphicsDocument::CreateAppUiL()
// Constructs CreateAppUi.
// -----------------------------------------------------------------------------
//
CEikAppUi* CGraphicsDocument::CreateAppUiL()
{
// Create the application user interface, and return a pointer to it;
// the framework takes ownership of this object
return ( static_cast<CEikAppUi*>( new ( ELeave ) CGraphicsAppUi) );
}
// End of File
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -