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