00001 /* ==================================================================== 00002 * File: handler.cpp 00003 * Created : 27/06/06 by Forum Nokia 00004 * Author: 00005 * Copyright (c): , All rights reserved 00006 * ==================================================================== */ 00007 00008 #include "handlerApplication.h" 00009 00010 //#ifdef __SERIES60_3X__ 00011 #include <eikstart.h> 00012 //#endif 00013 00014 // --------------------------------------------------------------------------- 00015 // NewApplication() 00016 // 00017 // Return new instance of the DBMS application. 00018 // --------------------------------------------------------------------------- 00019 EXPORT_C CApaApplication* NewApplication() 00020 { 00021 return (static_cast<CApaApplication*>(new CHandlerApplication)); 00022 } 00023 00024 /* 00025 #ifndef __SERIES60_3X__ 00026 // --------------------------------------------------------- 00027 // E32Dll(TDllReason) 00028 // Entry point function for EPOC Apps 00029 // Returns: KErrNone: No error 00030 // --------------------------------------------------------- 00031 // 00032 GLDEF_C TInt E32Dll( TDllReason ) 00033 { 00034 return KErrNone; 00035 } 00036 /* 00037 #else 00038 */ 00039 // --------------------------------------------------------- 00040 // E32Main() 00041 // Entry point function for new (>= 9.0) EPOC Apps (exe) 00042 // Returns: System Wide error codes or KErrNone if all goes well 00043 // --------------------------------------------------------- 00044 // 00045 GLDEF_C TInt E32Main() 00046 { 00047 return EikStart::RunApplication( NewApplication ); 00048 } 00049 //#endif 00050 00051
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.