⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dddocument.cpp

📁 实现界面编程。symbian方面的界面开发
💻 CPP
字号:
/*
============================================================================
 Name        : ddDocument.cpp
 Author      : 
 Version     :
 Copyright   : Your copyright notice
 Description : Application document class (model)
============================================================================
*/

// INCLUDE FILES
#include "ddAppUi.h"
#include "ddDocument.h"

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

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

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

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

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

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

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

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

// End of File

⌨️ 快捷键说明

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