📄 labletestappdocument.cpp
字号:
/*
============================================================================
Name : LableTestAppDocument.cpp
Author : lemonhat
Copyright : Your copyright notice
Description : CLableTestAppDocument implementation
============================================================================
*/
// INCLUDE FILES
#include "LableTestAppAppUi.h"
#include "LableTestAppDocument.h"
// ============================ MEMBER FUNCTIONS ===============================
// -----------------------------------------------------------------------------
// CLableTestAppDocument::NewL()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CLableTestAppDocument* CLableTestAppDocument::NewL(CEikApplication& aApp)
{
CLableTestAppDocument* self = NewLC(aApp);
CleanupStack::Pop(self);
return self;
}
// -----------------------------------------------------------------------------
// CLableTestAppDocument::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CLableTestAppDocument* CLableTestAppDocument::NewLC(CEikApplication& aApp)
{
CLableTestAppDocument* self = new (ELeave) CLableTestAppDocument(aApp);
CleanupStack::PushL(self);
self->ConstructL();
return self;
}
// -----------------------------------------------------------------------------
// CLableTestAppDocument::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CLableTestAppDocument::ConstructL()
{
// No implementation required
}
// -----------------------------------------------------------------------------
// CLableTestAppDocument::CLableTestAppDocument()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CLableTestAppDocument::CLableTestAppDocument(CEikApplication& aApp) :
CAknDocument(aApp)
{
// No implementation required
}
// ---------------------------------------------------------------------------
// CLableTestAppDocument::~CLableTestAppDocument()
// Destructor.
// ---------------------------------------------------------------------------
//
CLableTestAppDocument::~CLableTestAppDocument()
{
// No implementation required
}
// ---------------------------------------------------------------------------
// CLableTestAppDocument::CreateAppUiL()
// Constructs CreateAppUi.
// ---------------------------------------------------------------------------
//
CEikAppUi* CLableTestAppDocument::CreateAppUiL()
{
// Create the application user interface, and return a pointer to it;
// the framework takes ownership of this object
return new (ELeave) CLableTestAppAppUi;
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -