tcpipimpexapplication.cpp
来自「S60下的TCP/IP连接的演示程序」· C++ 代码 · 共 60 行
CPP
60 行
/**
*
* @brief Definition of CTcpipImpExApplication
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/
// INCLUDE FILES
// Class include
#include "TcpipImpExApplication.h"
// User includes
#include "TcpipImpExDocument.h" // CTcpipImpExDocument
// ================= MEMBER FUNCTIONS =======================
/**
* @brief From CApaApplication, returns the application's UID (KUidTcpipImpEx).
* @return The value of KUidTcpipImpEx.
*/
TUid CTcpipImpExApplication::AppDllUid() const
{
return KUidTcpipImpEx;
}
/**
* @brief From CApaApplication, creates a CTcpipImpExDocument object.
* @return A pointer to the created document object.
*/
CApaDocument* CTcpipImpExApplication::CreateDocumentL()
{
return CTcpipImpExDocument::NewL(*this);
}
// ================= OTHER EXPORTED FUNCTIONS ==============
/**
* Constructs a CTcpipImpExApplication.
* @return A pointer to the application object.
*/
EXPORT_C CApaApplication* NewApplication()
{
return new CTcpipImpExApplication;
}
/**
* @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 + -
显示快捷键?