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>CHelloWorldBasicApplication Class Reference</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 id="current"><a href="annotated.html"><span>Classes</span></a></li> 00018 <li><a href="files.html"><span>Files</span></a></li> 00019 </ul></div> 00020 <div class="tabs"> 00021 <ul> 00022 <li><a href="annotated.html"><span>Class List</span></a></li> 00023 <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> 00024 <li><a href="functions.html"><span>Class Members</span></a></li> 00025 </ul></div> 00026 <h1>CHelloWorldBasicApplication Class Reference</h1><!-- doxytag: class="CHelloWorldBasicApplication" --><!-- doxytag: inherits="CAknApplication" --><code>#include <<a class="el" href="helloworldbasicapplication_8h-source.html">helloworldbasicapplication.h</a>></code> 00027 <p> 00028 <p>Inheritance diagram for CHelloWorldBasicApplication: 00029 <p><center><img src="class_c_hello_world_basic_application.png" usemap="#CHelloWorldBasicApplication_map" border="0" alt=""></center> 00030 <map name="CHelloWorldBasicApplication_map"> 00031 </map> 00032 <a href="class_c_hello_world_basic_application-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> 00033 CHelloWorldBasicApplication application class. Provides factory to create concrete document object. An instance of CHelloWorldBasicApplication is the application part of the AVKON application framework for the HelloWorldBasic example application. 00034 <p> 00035 00036 <p> 00037 Definition at line <a class="el" href="helloworldbasicapplication_8h-source.html#l00030">30</a> of file <a class="el" href="helloworldbasicapplication_8h-source.html">helloworldbasicapplication.h</a>.<table border="0" cellpadding="0" cellspacing="0"> 00038 <tr><td></td></tr> 00039 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> 00040 <tr><td class="memItemLeft" nowrap align="right" valign="top">TUid </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_hello_world_basic_application.html#266a6db7f5728454ee8b7a9c5f517dca">AppDllUid</a> () const </td></tr> 00041 00042 <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> 00043 <tr><td class="memItemLeft" nowrap align="right" valign="top">CApaDocument * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_hello_world_basic_application.html#0a048c97a8c1868d0e1e5daf2838bcab">CreateDocumentL</a> ()</td></tr> 00044 00045 </table> 00046 <hr><h2>Member Function Documentation</h2> 00047 <a class="anchor" name="266a6db7f5728454ee8b7a9c5f517dca"></a><!-- doxytag: member="CHelloWorldBasicApplication::AppDllUid" ref="266a6db7f5728454ee8b7a9c5f517dca" args="() const " --><p> 00048 <table class="mdTable" cellpadding="2" cellspacing="0"> 00049 <tr> 00050 <td class="mdRow"> 00051 <table cellpadding="0" cellspacing="0" border="0"> 00052 <tr> 00053 <td class="md" nowrap valign="top">TUid CHelloWorldBasicApplication::AppDllUid </td> 00054 <td class="md" valign="top">( </td> 00055 <td class="mdname1" valign="top" nowrap> </td> 00056 <td class="md" valign="top"> ) </td> 00057 <td class="md" nowrap> const</td> 00058 </tr> 00059 </table> 00060 </td> 00061 </tr> 00062 </table> 00063 <table cellspacing="5" cellpadding="0" border="0"> 00064 <tr> 00065 <td> 00066 00067 </td> 00068 <td> 00069 00070 <p> 00071 From CApaApplication, AppDllUid. <dl compact><dt><b>Returns:</b></dt><dd>Application's UID (KUidHelloWorldBasicApp). </dd></dl> 00072 00073 <p> 00074 Definition at line <a class="el" href="helloworldbasicapplication_8cpp-source.html#l00043">43</a> of file <a class="el" href="helloworldbasicapplication_8cpp-source.html">helloworldbasicapplication.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00044"></a>00044 { 00075 <a name="l00045"></a>00045 <span class="comment">// Return the UID for the HelloWorldBasic application</span> 00076 <a name="l00046"></a>00046 <span class="keywordflow">return</span> KUidHelloWorldBasicApp; 00077 <a name="l00047"></a>00047 } 00078 </pre></div> 00079 <p> 00080 </td> 00081 </tr> 00082 </table> 00083 <a class="anchor" name="0a048c97a8c1868d0e1e5daf2838bcab"></a><!-- doxytag: member="CHelloWorldBasicApplication::CreateDocumentL" ref="0a048c97a8c1868d0e1e5daf2838bcab" args="()" --><p> 00084 <table class="mdTable" cellpadding="2" cellspacing="0"> 00085 <tr> 00086 <td class="mdRow"> 00087 <table cellpadding="0" cellspacing="0" border="0"> 00088 <tr> 00089 <td class="md" nowrap valign="top">CApaDocument * CHelloWorldBasicApplication::CreateDocumentL </td> 00090 <td class="md" valign="top">( </td> 00091 <td class="mdname1" valign="top" nowrap> </td> 00092 <td class="md" valign="top"> ) </td> 00093 <td class="md" nowrap><code> [protected]</code></td> 00094 </tr> 00095 </table> 00096 </td> 00097 </tr> 00098 </table> 00099 <table cellspacing="5" cellpadding="0" border="0"> 00100 <tr> 00101 <td> 00102 00103 </td> 00104 <td> 00105 00106 <p> 00107 From CApaApplication, CreateDocumentL. Creates <a class="el" href="class_c_hello_world_basic_document.html">CHelloWorldBasicDocument</a> document object. The returned pointer in not owned by the CHelloWorldBasicApplication object. <dl compact><dt><b>Returns:</b></dt><dd>A pointer to the created document object. </dd></dl> 00108 00109 <p> 00110 Definition at line <a class="el" href="helloworldbasicapplication_8cpp-source.html#l00031">31</a> of file <a class="el" href="helloworldbasicapplication_8cpp-source.html">helloworldbasicapplication.cpp</a>. 00111 <p> 00112 References <a class="el" href="helloworldbasicdocument_8cpp-source.html#l00027">CHelloWorldBasicDocument::NewL()</a>.<div class="fragment"><pre class="fragment"><a name="l00032"></a>00032 { 00113 <a name="l00033"></a>00033 <span class="comment">// Create an HelloWorldBasic document, and return a pointer to it</span> 00114 <a name="l00034"></a>00034 <span class="keywordflow">return</span> (static_cast<CApaDocument*> 00115 <a name="l00035"></a>00035 ( <a class="code" href="class_c_hello_world_basic_document.html#97d8413d74643854e05e60e11a177553">CHelloWorldBasicDocument::NewL</a>( *<span class="keyword">this</span> ) ) ); 00116 <a name="l00036"></a>00036 } 00117 </pre></div> 00118 <p> 00119 </td> 00120 </tr> 00121 </table> 00122 <hr>The documentation for this class was generated from the following files:<ul> 00123 <li><a class="el" href="helloworldbasicapplication_8h-source.html">helloworldbasicapplication.h</a><li><a class="el" href="helloworldbasicapplication_8cpp-source.html">helloworldbasicapplication.cpp</a></ul> 00124 <hr> 00125 00126 <table x-use-null-cells 00127 style="x-cell-content-align: top; 00128 width: 100%; 00129 border-spacing: 0px; 00130 border-spacing: 0px;" 00131 cellspacing=0 00132 width=100%> 00133 <col style="width: 50%;"> 00134 <col style="width: 50%;"> 00135 00136 <tr style="x-cell-content-align: top;" 00137 valign=top> 00138 <td style="width: 50%; 00139 padding-right: 10px; 00140 padding-left: 10px; 00141 border-right-style: None; 00142 border-left-style: None; 00143 border-top-style: None; 00144 border-bottom-style: None;" 00145 width=50%> 00146 <p style="font-family: Arial;"><small style="font-size: smaller;">© Nokia 2009</small></td> 00147 <td style="width: 50%; 00148 padding-right: 10px; 00149 padding-left: 10px; 00150 border-top-style: None; 00151 border-bottom-style: None; 00152 border-right-style: None;" 00153 width=50%> 00154 <p style="text-align: right; margin-right: -4px;" 00155 align=right><span style="font-weight: bold;"><a href="#Top" 00156 title="Back to top"><img 00157 src="top.gif" 00158 x-maintain-ratio=TRUE 00159 alt="Back to top" 00160 style="border: none; 00161 width: 18px; 00162 height: 15px; 00163 float: none; 00164 border-style: none; 00165 border-style: none;" 00166 width=18 00167 height=15 00168 border=0></a></span></td></tr> 00169 </table> 00170 </body> 00171 </html> 00172