00001 "-//W3C//DTD HTML 4.0 Transitional//EN"> 00002 00003 00004 00005 "Content-Type" content="text/html;charset=iso-8859-1"> 00006csasync.cpp Source File 00007 "style.css" rel="stylesheet" type="text/css"> 00008 00009 00010
"100%" height="1">"2" color="#000000" face="Arial, Helvetica, sans-serif">
00012 S60 5th Edition SDK Example Applications Guide |
class="fragment">"l00001">00001 class="comment">/* 00021 00002 * ============================================================================== 00022 00003 * Name : csasync.cpp 00023 00004 * Part of : CSAsync 00024 00005 * Interface : 00025 00006 * Description : 00026 00007 * Version : 00027 00008 * 00028 00009 * Copyright (c) 2004-2006 Nokia Corporation. 00029 00010 * This material, including documentation and any related 00030 00011 * computer programs, is protected by copyright controlled by 00031 00012 * Nokia Corporation. 00032 00013 * ============================================================================== 00033 00014 */ 00034 "l00015">00015 00035 "l00016">00016 00036 "l00017">00017 class="comment">// INCLUDE FILES 00037 "l00018">00018 class="preprocessor">#include <EikStart.h> 00038 "l00019">00019 00039 "l00020">00020 class="preprocessor">#include "CSAsyncApplication.h" 00040 "l00021">00021 00041 "l00022">00022 class="comment">// ========================== OTHER EXPORTED FUNCTIONS ========================= 00042 "l00023">00023 00043 "l00024">00024 class="comment">// ----------------------------------------------------------------------------- 00044 "l00025">00025 class="comment">// NewApplication() 00045 "l00026">00026 class="comment">// Create a CSAsync application, and return a pointer to it 00046 "l00027">00027 class="comment">// ----------------------------------------------------------------------------- 00047 "l00028">00028 class="comment">// 00048 "l00029">00029 EXPORT_C CApaApplication* NewApplication() 00049 "l00030">00030 { 00050 "l00031">00031 class="keywordflow">return ( static_cast<CApaApplication*>( class="keyword">new class="code" href="class_c_c_s_async_application.html">CCSAsyncApplication ) ); 00051 "l00032">00032 } 00052 "l00033">00033 00053 "l00034">00034 class="comment">// ----------------------------------------------------------------------------- 00054 "l00035">00035 class="comment">// E32Main() 00055 "l00036">00036 class="comment">// DLL entry point 00056 "l00037">00037 class="comment">// ----------------------------------------------------------------------------- 00057 "l00038">00038 class="comment">// 00058 "l00039">00039 GLDEF_C TInt E32Main() 00059 "l00040">00040 { 00060 "l00041">00041 class="keywordflow">return EikStart::RunApplication( NewApplication ); 00061 "l00042">00042 } 00062 "l00043">00043 00063 "l00044">00044 class="comment">// End of File 00064
"width: 50%;
00079 padding-right: 10px;
00080 padding-left: 10px;
00081 border-right-style: None;
00082 border-left-style: None;
00083 border-top-style: None;
00084 border-bottom-style: None;"
00085 width=50%>
00086 "font-family: Arial;">"font-size: smaller;"> Nokia 2009 |
00087 "width: 50%;
00088 padding-right: 10px;
00089 padding-left: 10px;
00090 border-top-style: None;
00091 border-bottom-style: None;
00092 border-right-style: None;"
00093 width=50%>
00094 "text-align: right; margin-right: -4px;"
00095 align=right>"font-weight: bold;">"#Top"
00096 title="Back to top"> |