navigationpaneapplication.cpp

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

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

// INCLUDE FILES

// Class include
#include "NavigationPaneApplication.h"

// User includes
#include "NavigationPaneDocument.h" // CNavigationPaneDocument

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

/**
* @brief From CApaApplication, returns the application's UID (KUidNavigationPane).
* @return The value of KUidNavigationPane.
*/
TUid CNavigationPaneApplication::AppDllUid() const
	{
	return KUidNavigationPane;
	}

/**
* @brief From CApaApplication, creates a CNavigationPaneDocument object.
* @return A pointer to the created document object.
*/	 
CApaDocument* CNavigationPaneApplication::CreateDocumentL()
	{
	return CNavigationPaneDocument::NewL(*this);
	}

// ================= OTHER EXPORTED FUNCTIONS ==============

/**
* Constructs a CNavigationPaneApplication.  
* @return A pointer to the application object.
*/
EXPORT_C CApaApplication* NewApplication()
	{
	return new CNavigationPaneApplication;
	}

/**
* @brief This is the entry point function for this Series 60 App
* @return KErrNone No error
*/
GLDEF_C TInt E32Dll(TDllReason)
	{
	return KErrNone;
	}

// End of File	

⌨️ 快捷键说明

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