ldk008document.cpp

来自「这是一个关于Symbian Gird控件的程序」· C++ 代码 · 共 91 行

CPP
91
字号
/*
============================================================================
 Name        : LDK008Document.cpp
 Author      : 
 Version     :
 Copyright   : Your copyright notice
 Description : Application document class (model)
============================================================================
*/

// INCLUDE FILES
#include "LDK008AppUi.h"
#include "LDK008Document.h"

// ============================ MEMBER FUNCTIONS ===============================

// -----------------------------------------------------------------------------
// CLDK008Document::NewL()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CLDK008Document* CLDK008Document::NewL( CEikApplication&
	aApp )
	{
	CLDK008Document* self = NewLC( aApp );
	CleanupStack::Pop( self );
	return self;
	}

// -----------------------------------------------------------------------------
// CLDK008Document::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CLDK008Document* CLDK008Document::NewLC( CEikApplication&
	aApp )
	{
	CLDK008Document* self =
		new ( ELeave ) CLDK008Document( aApp );

	CleanupStack::PushL( self );
	self->ConstructL();
	return self;
	}

// -----------------------------------------------------------------------------
// CLDK008Document::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CLDK008Document::ConstructL()
	{
	// No implementation required
	}

// -----------------------------------------------------------------------------
// CLDK008Document::CLDK008Document()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CLDK008Document::CLDK008Document( CEikApplication& aApp )
	: CAknDocument( aApp )
	{
	// No implementation required
	}

// ---------------------------------------------------------------------------
// CLDK008Document::~CLDK008Document()
// Destructor.
// ---------------------------------------------------------------------------
//
CLDK008Document::~CLDK008Document()
	{
	// No implementation required
	}

// ---------------------------------------------------------------------------
// CLDK008Document::CreateAppUiL()
// Constructs CreateAppUi.
// ---------------------------------------------------------------------------
//
CEikAppUi* CLDK008Document::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 )
		CLDK008AppUi ) );
	}

// End of File

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?