00001 /* 00002 * ============================================================================== 00003 * Name : cssync.cpp 00004 * Part of : CSSync 00005 * Interface : 00006 * Description : 00007 * Version : 00008 * 00009 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 00010 * All rights reserved. 00011 * This component and the accompanying materials are made available 00012 * under the terms of "Eclipse Public License v1.0" 00013 * which accompanies this distribution, and is available 00014 * at the URL "http://www.eclipse.org/legal/epl-v10.html". 00015 * ============================================================================== 00016 */ 00017 00018 00019 // INCLUDE FILES 00020 #include <eikstart.h> 00021 00022 #include "CSSyncApplication.h" 00023 00024 // ========================== OTHER EXPORTED FUNCTIONS ========================= 00025 00026 // ----------------------------------------------------------------------------- 00027 // NewApplication() 00028 // Create a CSSync application, and return a pointer to it 00029 // ----------------------------------------------------------------------------- 00030 // 00031 EXPORT_C CApaApplication* NewApplication() 00032 { 00033 return ( static_cast<CApaApplication*>( new CCSSyncApplication ) ); 00034 } 00035 00036 00037 // ----------------------------------------------------------------------------- 00038 // E32Dll() 00039 // DLL entry point, return that everything is ok 00040 // ----------------------------------------------------------------------------- 00041 // 00042 GLDEF_C TInt E32Main() 00043 { 00044 return EikStart::RunApplication( NewApplication ); 00045 } 00046 00047 // End of File