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