00001 /* 00002 * ============================================================================ 00003 * Name : EComCalculator from EComCalculator.h 00004 * Part of : EComCalculator 00005 * Created : 29/05/2006 by Forum Nokia 00006 * Version : 2.0 00007 * Copyright: Nokia Corporation 00008 * ============================================================================ 00009 */ 00010 00011 #include "EComCalculatorApplication.h" 00012 //#ifdef __SERIES60_3X__ 00013 #include <eikstart.h> 00014 //#endif 00015 00016 00017 // Return new instance of the EComCalculator application. 00018 EXPORT_C CApaApplication* NewApplication() 00019 { 00020 return (static_cast<CApaApplication*>(new CEComCalculatorApplication)); 00021 } 00022 00023 /* 00024 #ifndef __SERIES60_3X__ 00025 // --------------------------------------------------------- 00026 // E32Dll(TDllReason) 00027 // Entry point function for EPOC Apps 00028 // Returns: KErrNone: No error 00029 // --------------------------------------------------------- 00030 // 00031 GLDEF_C TInt E32Dll( TDllReason ) 00032 { 00033 return KErrNone; 00034 } 00035 #else 00036 */ 00037 // --------------------------------------------------------- 00038 // E32Main() 00039 // Entry point function for new (>= 9.0) EPOC Apps (exe) 00040 // Returns: Sistem Wide error codes or KErrNone if all goes well 00041 // --------------------------------------------------------- 00042 // 00043 GLDEF_C TInt E32Main() 00044 { 00045 return EikStart::RunApplication( NewApplication ); 00046 } 00047 //#endif 00048