diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/csasync_8cpp_source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/csasync_8cpp_source.html Tue Mar 30 16:16:55 2010 +0100 @@ -0,0 +1,60 @@ + + +
+ +00001 /* +00002 * ============================================================================== +00003 * Name : csasync.cpp +00004 * Part of : CSAsync +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 +00017 // INCLUDE FILES +00018 #include <EikStart.h> +00019 +00020 #include "CSAsyncApplication.h" +00021 +00022 // ========================== OTHER EXPORTED FUNCTIONS ========================= +00023 +00024 // ----------------------------------------------------------------------------- +00025 // NewApplication() +00026 // Create a CSAsync application, and return a pointer to it +00027 // ----------------------------------------------------------------------------- +00028 // +00029 EXPORT_C CApaApplication* NewApplication() +00030 { +00031 return ( static_cast<CApaApplication*>( new CCSAsyncApplication ) ); +00032 } +00033 +00034 // ----------------------------------------------------------------------------- +00035 // E32Main() +00036 // DLL entry point +00037 // ----------------------------------------------------------------------------- +00038 // +00039 GLDEF_C TInt E32Main() +00040 { +00041 return EikStart::RunApplication( NewApplication ); +00042 } +00043 +00044 // End of File +