navigationpanedocument.cpp

来自「symbian 下浏览器调用实现的完整源码。可以用了封装自己浏览器。」· C++ 代码 · 共 63 行

CPP
63
字号
/**
* 
* @brief Definition of CNavigationPaneDocument
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/

// INCLUDE FILES

//	Class include
#include "NavigationPaneDocument.h"

// User includes
#include "NavigationPaneAppUi.h" // CNavigationPaneAppUi

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

/**
* Constructs the document for aApp
*
* @param aApp for which the document is constructed
*/
CNavigationPaneDocument::CNavigationPaneDocument(CEikApplication& aApp)
: CAknDocument(aApp)
	{
	}

/**
* Symbian OS 2nd phase constructor.
* This is an empty implementation.
*/
void CNavigationPaneDocument::ConstructL()
	{
	}

/**
* Symbian OS 2 phase constructor.
* Constructs the CNavigationPaneDocument using the constructor and the ConstructL 
* method.
* @param aApp for which the CNavigationPaneDocument is constructed
* @return The newly constructed CNavigationPaneDocument
*/
CNavigationPaneDocument* CNavigationPaneDocument::NewL(CEikApplication& aApp)
	{
	CNavigationPaneDocument* self = new (ELeave) CNavigationPaneDocument(aApp);
	CleanupStack::PushL(self);
	self->ConstructL();
	CleanupStack::Pop(self);
	return self;
	}

/**
* Creates the AppUi for this document.
* @return The newly constructed AppUi
*/	
CEikAppUi* CNavigationPaneDocument::CreateAppUiL()
	{
	return new (ELeave) CNavigationPaneAppUi;
	}

// End of File	

⌨️ 快捷键说明

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