httpexampleapplication.cpp

来自「最新官方例子,图形,描述副,基本控件,通讯协议,等等,」· C++ 代码 · 共 60 行

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

// INCLUDE FILES

// Class include
#include "HTTPExampleApplication.h"

// User includes
#include "HTTPExampleDocument.h" // CHTTPExampleDocument

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

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


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

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

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

/**
* @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 + -
显示快捷键?