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