nettestapp.cpp
来自「Symbian第二版断点续传代码,可以节省用户下载流量」· C++ 代码 · 共 64 行
CPP
64 行
/*
============================================================================
Name : CNetTestApp from NetTestApp.cpp
Author :
Version :
Copyright : Your copyright notice
Description : Main application class
============================================================================
*/
// INCLUDE FILES
#include "NetTestApp.h"
#include "NetTestDocument.h"
// ================= MEMBER FUNCTIONS =======================
// ---------------------------------------------------------
// CNetTestApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CNetTestApp::AppDllUid() const
{
return KUidNetTest;
}
// ---------------------------------------------------------
// CNetTestApp::CreateDocumentL()
// Creates CNetTestDocument object
// ---------------------------------------------------------
//
CApaDocument* CNetTestApp::CreateDocumentL()
{
return CNetTestDocument::NewL( *this );
}
// ================= OTHER EXPORTED FUNCTIONS ==============
//
// ---------------------------------------------------------
// NewApplication()
// Constructs CNetTestApp
// Returns: created application object
// ---------------------------------------------------------
//
EXPORT_C CApaApplication* NewApplication()
{
return new CNetTestApp;
}
// ---------------------------------------------------------
// E32Dll(TDllReason)
// Entry point function for EPOC Apps
// Returns: KErrNone: No error
// ---------------------------------------------------------
//
GLDEF_C TInt E32Dll( TDllReason )
{
return KErrNone;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?