|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : focusevent.cpp 00004 * Part of : Focus event example 00005 * Interface : 00006 * Description : 00007 * Version : 00008 * 00009 * Copyright (c) 2004 - 2006 Nokia Corporation. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia Corporation. 00013 * ============================================================================== 00014 */ 00015 00016 // INCLUDE FILES 00017 #include <eikstart.h> 00018 00019 #include "FocusEventApplication.h" 00020 00021 // ========================== OTHER EXPORTED FUNCTIONS ========================= 00022 00023 // ----------------------------------------------------------------------------- 00024 // NewApplication() 00025 // Construct CFocusEventApplication and return a pointer to it. 00026 // ----------------------------------------------------------------------------- 00027 // 00028 EXPORT_C CApaApplication* NewApplication() 00029 { 00030 return ( new CFocusEventApplication ); 00031 } 00032 00033 // ---------------------------------------------------------------------------- 00034 // TInt E32Main() 00035 // Entry point function for EPOC Apps. 00036 // Returns: TInt: Error if starting the app through framework wasn't succesful 00037 // ---------------------------------------------------------------------------- 00038 // 00039 GLDEF_C TInt E32Main() 00040 { 00041 return EikStart::RunApplication( NewApplication ); 00042 } 00043 00044 // End of File
|
© Nokia 2009 |