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