Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/_e_com_interface_definition_8h_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_interface_definition_8h_source.html	Tue Mar 30 16:16:55 2010 +0100
@@ -0,0 +1,61 @@
+<!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/interface/EComInterfaceDefinition.h 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/interface/EComInterfaceDefinition.h</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     : CCalculationInterfaceDefinition from EComInterfaceDefinition.h</span>
+<a name="l00004"></a>00004 <span class="comment"> *  Part of  : EComCalculator</span>
+<a name="l00005"></a>00005 <span class="comment"> *  Created  : 17/11/2003 by Forum Nokia</span>
+<a name="l00006"></a>00006 <span class="comment"> *  Version  : 1.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">#ifndef __CCALCULATE_INTERFACEDEFINITION__</span>
+<a name="l00012"></a>00012 <span class="preprocessor"></span><span class="preprocessor">#define __CCALCULATE_INTERFACEDEFINITION__</span>
+<a name="l00013"></a>00013 <span class="preprocessor"></span>
+<a name="l00014"></a>00014 <span class="preprocessor">#include &lt;e32base.h&gt;</span>
+<a name="l00015"></a>00015 <span class="preprocessor">#include &lt;ECom.h&gt;</span>
+<a name="l00016"></a>00016 <span class="preprocessor">#include &lt;badesca.h&gt;</span>
+<a name="l00017"></a>00017 
+<a name="l00028"></a>00028 <span class="preprocessor">#ifdef __SERIES60_3X__</span>
+<a name="l00029"></a>00029 <span class="preprocessor"></span>    <span class="keyword">const</span> TUid KCalculateInterfaceDefinitionUid = {0xE0009DC1};
+<a name="l00030"></a>00030 <span class="preprocessor">#else</span>
+<a name="l00031"></a>00031 <span class="preprocessor"></span>    <span class="keyword">const</span> TUid KCalculateInterfaceDefinitionUid = {0x10009DC1};
+<a name="l00032"></a>00032 <span class="preprocessor">#endif</span>
+<a name="l00033"></a>00033 <span class="preprocessor"></span>
+<a name="l00042"></a><a class="code" href="class_c_calculation_interface_definition.html">00042</a> <span class="keyword">class </span><a class="code" href="class_c_calculation_interface_definition.html">CCalculationInterfaceDefinition</a> : <span class="keyword">public</span> CBase
+<a name="l00043"></a>00043     {
+<a name="l00044"></a>00044 <span class="keyword">public</span>: <span class="comment">// Wrapper functions to handle ECOM &quot;connectivity&quot;.</span>
+<a name="l00045"></a>00045         <span class="comment">// These are implemented in EComInterfaceDefinition.inl.</span>
+<a name="l00046"></a>00046         <span class="comment">// These functions are used only by the client.</span>
+<a name="l00068"></a>00068 <span class="comment"></span>    <span class="keyword">static</span> <a class="code" href="class_c_calculation_interface_definition.html">CCalculationInterfaceDefinition</a>* <a class="code" href="class_c_calculation_interface_definition.html#a0c188739edb316bd3a93843f6d997593">NewL</a>(<span class="keyword">const</span> TDesC8&amp; aOperationName);
+<a name="l00069"></a>00069 
+<a name="l00077"></a>00077     <span class="keyword">virtual</span> <a class="code" href="class_c_calculation_interface_definition.html#a7c76e2d8ad48a27b54c8ed32f3e86791">~CCalculationInterfaceDefinition</a>();
+<a name="l00078"></a>00078 
+<a name="l00079"></a>00079 <span class="keyword">public</span>: <span class="comment">// Public pure virtual functions, which are implemented by</span>
+<a name="l00080"></a>00080         <span class="comment">// interface implementations (See ..\plugin)</span>
+<a name="l00081"></a>00081 
+<a name="l00095"></a>00095     <span class="keyword">virtual</span> TReal <a class="code" href="class_c_calculation_interface_definition.html#aa0f96f52f4d5b6c55d7aa6b0aea0c3b7">Calculate</a>(TReal aA, TReal aB) = 0;
+<a name="l00096"></a>00096 
+<a name="l00097"></a>00097 <span class="keyword">private</span>:
+<a name="l00098"></a>00098 
+<a name="l00105"></a>00105     TUid iDtor_ID_Key;
+<a name="l00106"></a>00106     };
+<a name="l00107"></a>00107 
+<a name="l00108"></a>00108 <span class="preprocessor">#include &quot;EcomInterfaceDefinition.inl&quot;</span> <span class="comment">// Our own base implementations for ECOM</span>
+<a name="l00109"></a>00109 
+<a name="l00110"></a>00110 <span class="preprocessor">#endif // __CCALCULATE_INTERFACEDEFINITION__</span>
+</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>