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