Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/_e_com_calculator_application_8cpp_source.html
changeset 6 43e37759235e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/_e_com_calculator_application_8cpp_source.html	Tue Mar 30 16:16:55 2010 +0100
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<title>TB9.2 Example Applications: examples/ForumNokia/EComCalculator/client/src/EComCalculatorApplication.cpp Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<link href="doxygen.css" rel="stylesheet" type="text/css"/>
+</head>
+<body>
+<!-- Generated by Doxygen 1.6.2 -->
+<h1>examples/ForumNokia/EComCalculator/client/src/EComCalculatorApplication.cpp</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
+<a name="l00002"></a>00002 <span class="comment"> * ============================================================================</span>
+<a name="l00003"></a>00003 <span class="comment"> *  Name     : CEComCalculatorApplication from EComCalculatorApplication.cpp</span>
+<a name="l00004"></a>00004 <span class="comment"> *  Part of  : EComCalculator</span>
+<a name="l00005"></a>00005 <span class="comment"> *  Created  : 29/05/2006 by Forum Nokia</span>
+<a name="l00006"></a>00006 <span class="comment"> *  Version  : 2.0</span>
+<a name="l00007"></a>00007 <span class="comment"> *  Copyright: Nokia Corporation</span>
+<a name="l00008"></a>00008 <span class="comment"> * ============================================================================</span>
+<a name="l00009"></a>00009 <span class="comment"> */</span>
+<a name="l00010"></a>00010 
+<a name="l00011"></a>00011 <span class="preprocessor">#include &quot;EComCalculatorDocument.h&quot;</span>
+<a name="l00012"></a>00012 <span class="preprocessor">#include &quot;EComCalculatorApplication.h&quot;</span>
+<a name="l00013"></a>00013 
+<a name="l00014"></a>00014 <span class="comment">// Uid for the application. This must match the one in the EComCalculator.mmp.</span>
+<a name="l00015"></a>00015 <span class="preprocessor">#ifdef __SERIES60_3X__</span>
+<a name="l00016"></a>00016 <span class="preprocessor"></span>    <span class="keyword">const</span> TUid KUidEComCalculatorApp = {0xE01F5464};
+<a name="l00017"></a>00017 <span class="preprocessor">#else</span>
+<a name="l00018"></a>00018 <span class="preprocessor"></span>    <span class="keyword">const</span> TUid KUidEComCalculatorApp = {0x101F5464};
+<a name="l00019"></a>00019 <span class="preprocessor">#endif</span>
+<a name="l00020"></a>00020 <span class="preprocessor"></span>
+<a name="l00021"></a>00021 
+<a name="l00022"></a>00022 <span class="comment">// Create the document for the EComCalculator application.</span>
+<a name="l00023"></a><a class="code" href="class_c_e_com_calculator_application.html#a8d02b5b023bede9c5d894cdf3402a542">00023</a> CApaDocument* <a class="code" href="class_c_e_com_calculator_application.html#a8d02b5b023bede9c5d894cdf3402a542">CEComCalculatorApplication::CreateDocumentL</a>()
+<a name="l00024"></a>00024     {
+<a name="l00025"></a>00025     <span class="keywordflow">return</span> (static_cast&lt;CApaDocument*&gt;(<a class="code" href="class_c_e_com_calculator_document.html#a68bd9b4b1b8ea6713b4e5b6acb60c097">CEComCalculatorDocument::NewL</a>(*<span class="keyword">this</span>)));
+<a name="l00026"></a>00026     }
+<a name="l00027"></a>00027 
+<a name="l00028"></a>00028 <span class="comment">// Return the UID of the application</span>
+<a name="l00029"></a><a class="code" href="class_c_e_com_calculator_application.html#aba334a6b6c12f593aefc95579778b0e5">00029</a> TUid <a class="code" href="class_c_e_com_calculator_application.html#aba334a6b6c12f593aefc95579778b0e5">CEComCalculatorApplication::AppDllUid</a>()<span class="keyword"> const</span>
+<a name="l00030"></a>00030 <span class="keyword">    </span>{
+<a name="l00031"></a>00031     <span class="keywordflow">return</span> KUidEComCalculatorApp;
+<a name="l00032"></a>00032     }
+<a name="l00033"></a>00033 
+</pre></div></div>
+<hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
+<a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
+</body>
+</html>