www.pudn.com > NetTest2nd.rar > NetTestApp.cpp


/* 
============================================================================ 
 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; 
    }