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