00001 /* 00002 * ============================================================================== 00003 * Name : cssync.cpp 00004 * Part of : CSSync 00005 * Interface : 00006 * Description : 00007 * Version : 00008 * 00009 * Copyright (c) 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 00017 // INCLUDE FILES 00018 #include <eikstart.h> 00019 00020 #include "CSSyncApplication.h" 00021 00022 // ========================== OTHER EXPORTED FUNCTIONS ========================= 00023 00024 // ----------------------------------------------------------------------------- 00025 // NewApplication() 00026 // Create a CSSync application, and return a pointer to it 00027 // ----------------------------------------------------------------------------- 00028 // 00029 EXPORT_C CApaApplication* NewApplication() 00030 { 00031 return ( static_cast<CApaApplication*>( new CCSSyncApplication ) ); 00032 } 00033 00034 00035 // ----------------------------------------------------------------------------- 00036 // E32Dll() 00037 // DLL entry point, return that everything is ok 00038 // ----------------------------------------------------------------------------- 00039 // 00040 GLDEF_C TInt E32Main() 00041 { 00042 return EikStart::RunApplication( NewApplication ); 00043 } 00044 00045 // End of File