00001 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 00002 <html> 00003 00004 <head> 00005 <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> 00006 <title>csasync.cpp Source File</title> 00007 <link href="style.css" rel="stylesheet" type="text/css"> 00008 </head> 00009 00010 <table border="0" width="100%" height="8" bgcolor="#eeeeee"> 00011 <tr> <td width="100%" height="1"><b><font size="2" color="#000000" face="Arial, Helvetica, sans-serif"><strong><a name=Top></a> 00012 S60 5th Edition SDK </strong></font></b><br><i>Example Applications Guide</i></td></tr> </table> 00013 <!-- Generated by Doxygen 1.4.5 --> 00014 <div class="tabs"> 00015 <ul> 00016 <li><a href="index.html"><span>Main Page</span></a></li> 00017 <li><a href="annotated.html"><span>Classes</span></a></li> 00018 <li id="current"><a href="files.html"><span>Files</span></a></li> 00019 </ul></div> 00020 <h1>csasync.cpp</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> 00021 <a name="l00002"></a>00002 <span class="comment">* ==============================================================================</span> 00022 <a name="l00003"></a>00003 <span class="comment">* Name : csasync.cpp</span> 00023 <a name="l00004"></a>00004 <span class="comment">* Part of : CSAsync</span> 00024 <a name="l00005"></a>00005 <span class="comment">* Interface :</span> 00025 <a name="l00006"></a>00006 <span class="comment">* Description :</span> 00026 <a name="l00007"></a>00007 <span class="comment">* Version :</span> 00027 <a name="l00008"></a>00008 <span class="comment">*</span> 00028 <a name="l00009"></a>00009 <span class="comment">* Copyright (c) 2004-2006 Nokia Corporation.</span> 00029 <a name="l00010"></a>00010 <span class="comment">* This material, including documentation and any related</span> 00030 <a name="l00011"></a>00011 <span class="comment">* computer programs, is protected by copyright controlled by</span> 00031 <a name="l00012"></a>00012 <span class="comment">* Nokia Corporation.</span> 00032 <a name="l00013"></a>00013 <span class="comment">* ==============================================================================</span> 00033 <a name="l00014"></a>00014 <span class="comment">*/</span> 00034 <a name="l00015"></a>00015 00035 <a name="l00016"></a>00016 00036 <a name="l00017"></a>00017 <span class="comment">// INCLUDE FILES</span> 00037 <a name="l00018"></a>00018 <span class="preprocessor">#include <EikStart.h></span> 00038 <a name="l00019"></a>00019 00039 <a name="l00020"></a>00020 <span class="preprocessor">#include "CSAsyncApplication.h"</span> 00040 <a name="l00021"></a>00021 00041 <a name="l00022"></a>00022 <span class="comment">// ========================== OTHER EXPORTED FUNCTIONS =========================</span> 00042 <a name="l00023"></a>00023 00043 <a name="l00024"></a>00024 <span class="comment">// -----------------------------------------------------------------------------</span> 00044 <a name="l00025"></a>00025 <span class="comment">// NewApplication()</span> 00045 <a name="l00026"></a>00026 <span class="comment">// Create a CSAsync application, and return a pointer to it</span> 00046 <a name="l00027"></a>00027 <span class="comment">// -----------------------------------------------------------------------------</span> 00047 <a name="l00028"></a>00028 <span class="comment">//</span> 00048 <a name="l00029"></a>00029 EXPORT_C CApaApplication* NewApplication() 00049 <a name="l00030"></a>00030 { 00050 <a name="l00031"></a>00031 <span class="keywordflow">return</span> ( static_cast<CApaApplication*>( <span class="keyword">new</span> <a class="code" href="class_c_c_s_async_application.html">CCSAsyncApplication</a> ) ); 00051 <a name="l00032"></a>00032 } 00052 <a name="l00033"></a>00033 00053 <a name="l00034"></a>00034 <span class="comment">// -----------------------------------------------------------------------------</span> 00054 <a name="l00035"></a>00035 <span class="comment">// E32Main()</span> 00055 <a name="l00036"></a>00036 <span class="comment">// DLL entry point</span> 00056 <a name="l00037"></a>00037 <span class="comment">// -----------------------------------------------------------------------------</span> 00057 <a name="l00038"></a>00038 <span class="comment">//</span> 00058 <a name="l00039"></a>00039 GLDEF_C TInt E32Main() 00059 <a name="l00040"></a>00040 { 00060 <a name="l00041"></a>00041 <span class="keywordflow">return</span> EikStart::RunApplication( NewApplication ); 00061 <a name="l00042"></a>00042 } 00062 <a name="l00043"></a>00043 00063 <a name="l00044"></a>00044 <span class="comment">// End of File</span> 00064 </pre></div><hr> 00065 00066 <table x-use-null-cells 00067 style="x-cell-content-align: top; 00068 width: 100%; 00069 border-spacing: 0px; 00070 border-spacing: 0px;" 00071 cellspacing=0 00072 width=100%> 00073 <col style="width: 50%;"> 00074 <col style="width: 50%;"> 00075 00076 <tr style="x-cell-content-align: top;" 00077 valign=top> 00078 <td style="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 <p style="font-family: Arial;"><small style="font-size: smaller;">© Nokia 2009</small></td> 00087 <td style="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 <p style="text-align: right; margin-right: -4px;" 00095 align=right><span style="font-weight: bold;"><a href="#Top" 00096 title="Back to top"><img 00097 src="top.gif" 00098 x-maintain-ratio=TRUE 00099 alt="Back to top" 00100 style="border: none; 00101 width: 18px; 00102 height: 15px; 00103 float: none; 00104 border-style: none; 00105 border-style: none;" 00106 width=18 00107 height=15 00108 border=0></a></span></td></tr> 00109 </table> 00110 </body> 00111 </html> 00112
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.