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