Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/_forum_nokia_2_e_com_calculator_2plugin_2src_2proxy_8cpp_source.html
Week 32 contribution of PDK documentation content. See release notes for details. Fixes bug Bug 3582
<!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/plugin/src/proxy.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/plugin/src/proxy.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 : EComProxy entry point from proxy.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 <e32std.h></span>
<a name="l00012"></a>00012 <span class="preprocessor">#include <ImplementationProxy.h></span>
<a name="l00013"></a>00013
<a name="l00014"></a>00014 <span class="preprocessor">#include "EComImplementationPlus.h"</span>
<a name="l00015"></a>00015 <span class="preprocessor">#include "EComImplementationMultiply.h"</span>
<a name="l00016"></a>00016
<a name="l00017"></a>00017 <span class="comment">// Map the interface implementation UIDs to implementation factory functions</span>
<a name="l00018"></a>00018 <span class="keyword">const</span> TImplementationProxy ImplementationTable[] =
<a name="l00019"></a>00019 {
<a name="l00020"></a>00020 <span class="preprocessor"> #ifdef __SERIES60_3X__</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span> IMPLEMENTATION_PROXY_ENTRY(0xE0009DC7, CImplementationClassPlus::NewL),
<a name="l00022"></a>00022 IMPLEMENTATION_PROXY_ENTRY(0xE0009DC8, CImplementationClassMultiply::NewL)
<a name="l00023"></a>00023 <span class="preprocessor">#else</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span> {{0x10009DC7}, CImplementationClassPlus::NewL},
<a name="l00025"></a>00025 {{0x10009DC8}, CImplementationClassMultiply::NewL}
<a name="l00026"></a>00026 <span class="preprocessor"> #endif</span>
<a name="l00027"></a>00027 <span class="preprocessor"></span> };
<a name="l00028"></a>00028
<a name="l00029"></a>00029
<a name="l00030"></a>00030 <span class="comment">// Exported proxy for instantiation method resolution.</span>
<a name="l00031"></a>00031 EXPORT_C <span class="keyword">const</span> TImplementationProxy* ImplementationGroupProxy(
<a name="l00032"></a>00032 TInt& aTableCount)
<a name="l00033"></a>00033 {
<a name="l00034"></a>00034 aTableCount = <span class="keyword">sizeof</span>(ImplementationTable) / <span class="keyword">sizeof</span>(TImplementationProxy);
<a name="l00035"></a>00035 <span class="keywordflow">return</span> ImplementationTable;
<a name="l00036"></a>00036 }
</pre></div></div>
<hr size="1"/><address style="text-align: right;"><small>Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
</body>
</html>