diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/cssync_8cpp_source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/cssync_8cpp_source.html Tue Mar 30 16:16:55 2010 +0100 @@ -0,0 +1,61 @@ + + +
+ +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 +