📄 roidsdocument.cpp
字号:
/*
============================================================================
Name : RoidsDocument.cpp
Author : Twm Davies
Copyright : Twm Davies
Description : CRoidsDocument implementation
============================================================================
*/
// INCLUDE FILES
#include "RoidsAppUi.h"
#include "RoidsDocument.h"
// ============================ MEMBER FUNCTIONS ===============================
// -----------------------------------------------------------------------------
// CRoidsDocument::NewL()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CRoidsDocument* CRoidsDocument::NewL( CEikApplication&
aApp )
{
CRoidsDocument* self = NewLC( aApp );
CleanupStack::Pop( self );
return self;
}
// -----------------------------------------------------------------------------
// CRoidsDocument::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CRoidsDocument* CRoidsDocument::NewLC( CEikApplication&
aApp )
{
CRoidsDocument* self =
new ( ELeave ) CRoidsDocument( aApp );
CleanupStack::PushL( self );
self->ConstructL();
return self;
}
// -----------------------------------------------------------------------------
// CRoidsDocument::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CRoidsDocument::ConstructL()
{
// No implementation required
}
// -----------------------------------------------------------------------------
// CRoidsDocument::CRoidsDocument()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CRoidsDocument::CRoidsDocument( CEikApplication& aApp )
: CAknDocument( aApp )
{
// No implementation required
}
// ---------------------------------------------------------------------------
// CRoidsDocument::~CRoidsDocument()
// Destructor.
// ---------------------------------------------------------------------------
//
CRoidsDocument::~CRoidsDocument()
{
// No implementation required
}
// ---------------------------------------------------------------------------
// CRoidsDocument::CreateAppUiL()
// Constructs CreateAppUi.
// ---------------------------------------------------------------------------
//
CEikAppUi* CRoidsDocument::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 )
CRoidsAppUi ) );
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -