testeapidocument.cpp.svn-base
来自「qaSDQDaca<FCSASDAVCASC SDVFDSVDF」· SVN-BASE 代码 · 共 89 行
SVN-BASE
89 行
/*
============================================================================
Name : TesteAPIDocument.cpp
Author : Tiago Sousa
Copyright :
Description : CTesteAPIDocument implementation
============================================================================
*/
// INCLUDE FILES
#include "TesteAPIAppUi.h"
#include "TesteAPIDocument.h"
// ============================ MEMBER FUNCTIONS ===============================
// -----------------------------------------------------------------------------
// CTesteAPIDocument::NewL()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CTesteAPIDocument* CTesteAPIDocument::NewL( CEikApplication& aApp )
{
CTesteAPIDocument* self = NewLC( aApp );
CleanupStack::Pop( self );
return self;
}
// -----------------------------------------------------------------------------
// CTesteAPIDocument::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CTesteAPIDocument* CTesteAPIDocument::NewLC( CEikApplication& aApp )
{
CTesteAPIDocument* self =
new ( ELeave ) CTesteAPIDocument( aApp );
CleanupStack::PushL( self );
self->ConstructL();
return self;
}
// -----------------------------------------------------------------------------
// CTesteAPIDocument::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CTesteAPIDocument::ConstructL()
{
// No implementation required
}
// -----------------------------------------------------------------------------
// CTesteAPIDocument::CTesteAPIDocument()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CTesteAPIDocument::CTesteAPIDocument( CEikApplication& aApp )
: CAknDocument( aApp )
{
// No implementation required
}
// ---------------------------------------------------------------------------
// CTesteAPIDocument::~CTesteAPIDocument()
// Destructor.
// ---------------------------------------------------------------------------
//
CTesteAPIDocument::~CTesteAPIDocument()
{
// No implementation required
}
// ---------------------------------------------------------------------------
// CTesteAPIDocument::CreateAppUiL()
// Constructs CreateAppUi.
// ---------------------------------------------------------------------------
//
CEikAppUi* CTesteAPIDocument::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 )
CTesteAPIAppUi ) );
}
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?