00001 /* 00002 * Copyright (c) 2009 Nokia Corporation. 00003 */ 00004 00005 #include <eikstart.h> 00006 #include "ClientApplication.h" 00007 00008 // ---------------------------------------------------------------------------- 00009 // NewApplication() 00010 // 00011 // Create an application, and return a pointer to it 00012 // ---------------------------------------------------------------------------- 00013 EXPORT_C CApaApplication* NewApplication() 00014 { 00015 return (static_cast<CApaApplication*>(new CClientApplication)); 00016 } 00017 00018 // --------------------------------------------------------- 00019 // E32Main() 00020 // Entry point function for new (>= 9.0) EPOC Apps (exe) 00021 // Returns: Sistem Wide error codes or KErrNone if all goes well 00022 // --------------------------------------------------------- 00023 // 00024 GLDEF_C TInt E32Main() 00025 { 00026 return EikStart::RunApplication( NewApplication ); 00027 } 00028 00029 // end of file