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

📄 ecomexampleapplication.cpp

📁 symbian S60 2nd ECom的一个很好的例子
💻 CPP
字号:
/**
*
* @brief Definition of CEComExampleApplication
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/

// INCLUDE FILES

// Class include
#include "EComExampleApplication.h"

// User includes
#include "EComExampleDocument.h" // CEComExampleDocument

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

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


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

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

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

/**
* @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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -