www.pudn.com > Example2D.rar > Example2DApp.cpp


/* ============================================================================ 
*  Name     : CExample2DApp from Example2DApp.cpp 
*  Part of  : Example2D 
*  Created  : 23.09.2005 by  
*  
*  Implementation notes: 
* 
*     Initial content was generated by Series 90 Application Wizard. 
*  Version  : 
*  Copyright:  
* ============================================================================ 
*/ 
 
// INCLUDE FILES 
 
#ifdef __SERIES60_30__ 
 
#include  
 
#endif 
 
#include    "Example2DApp.h" 
#include    "Example2DDocument.h" 
 
 
 
TUid CExample2DApp::AppDllUid() const 
    { 
    return KUidExample2D; 
    } 
 
 
    
CApaDocument* CExample2DApp::CreateDocumentL() 
    { 
    return CExample2DDocument::NewL( *this ); 
    } 
 
 
TFileName CExample2DApp::ResourceFileName() const 
	{ 
	return TFileName(); 
	} 
 
 
EXPORT_C CApaApplication* NewApplication() 
    { 
    return new CExample2DApp; 
    } 
 
#ifdef __SERIES60_30__ 
     
// --------------------------------------------------------- 
// E32Main()  
// Entry point function for Symbian OS v9 EXE Application 
// --------------------------------------------------------- 
// 
GLDEF_C TInt E32Main() 
	{ 
	return EikStart::RunApplication( NewApplication ); 
	} 
 
#else 
 
// --------------------------------------------------------- 
// E32Dll(TDllReason)  
// Entry point function for Symbian DLL Application 
// --------------------------------------------------------- 
// 
GLDEF_C TInt E32Dll( TDllReason ) 
    { 
    return KErrNone; 
    } 
 
#endif 
 
// End of file