Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/_e_com_calculator_app_view_8h_source.html
Initial contribution of the Adaptation Documentation.
<!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/inc/EComCalculatorAppView.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/client/inc/EComCalculatorAppView.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 : CEComCalculatorAppView from EComCalculatorAppView.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 __ECOMCALCULATORAPPVIEW_H__</span>
<a name="l00012"></a>00012 <span class="preprocessor"></span><span class="preprocessor">#define __ECOMCALCULATORAPPVIEW_H__</span>
<a name="l00013"></a>00013 <span class="preprocessor"></span>
<a name="l00014"></a>00014
<a name="l00015"></a>00015 <span class="preprocessor">#include <coecntrl.h></span>
<a name="l00016"></a>00016
<a name="l00017"></a>00017 <span class="keyword">class </span>CEikLabel;
<a name="l00018"></a>00018 <span class="keyword">class </span>CEikEdwin;
<a name="l00019"></a>00019
<a name="l00029"></a><a class="code" href="class_c_e_com_calculator_app_view.html">00029</a> <span class="keyword">class </span><a class="code" href="class_c_e_com_calculator_app_view.html">CEComCalculatorAppView</a> : <span class="keyword">public</span> CCoeControl
<a name="l00030"></a>00030 {
<a name="l00031"></a>00031
<a name="l00032"></a>00032 <span class="keyword">public</span>:
<a name="l00033"></a>00033
<a name="l00044"></a>00044 <span class="keyword">static</span> <a class="code" href="class_c_e_com_calculator_app_view.html">CEComCalculatorAppView</a>* <a class="code" href="class_c_e_com_calculator_app_view.html#a684da4b24db80dcf7dc41768e59d1435">NewL</a>(<span class="keyword">const</span> TRect& aRect);
<a name="l00045"></a>00045
<a name="l00050"></a>00050 <a class="code" href="class_c_e_com_calculator_app_view.html#a2d6525964ac2d79d908726c0a1611eef">~CEComCalculatorAppView</a>();
<a name="l00051"></a>00051
<a name="l00052"></a>00052 <span class="keyword">public</span>: <span class="comment">// For the use of CEComCalculatorAppUi</span>
<a name="l00053"></a>00053
<a name="l00063"></a>00063 TInt <a class="code" href="class_c_e_com_calculator_app_view.html#a26b6acd4cea10ef2c8bd4724f284c6f9">GetA</a>(TReal &aResult) <span class="keyword">const</span>;
<a name="l00064"></a>00064
<a name="l00074"></a>00074 TInt <a class="code" href="class_c_e_com_calculator_app_view.html#a8ade2ea0aa3f0ca7f99086ab3fc86433">GetB</a>(TReal &aResult) <span class="keyword">const</span>;
<a name="l00075"></a>00075
<a name="l00090"></a>00090 <span class="keywordtype">void</span> <a class="code" href="class_c_e_com_calculator_app_view.html#ab71438832dbc68110ebaefd1c42c5c19">ShowResultL</a>(<span class="keyword">const</span> TDesC8& aOperationName, TReal aValue);
<a name="l00091"></a>00091
<a name="l00092"></a>00092 <span class="keyword">private</span>: <span class="comment">// Construction</span>
<a name="l00093"></a>00093
<a name="l00102"></a>00102 <span class="keywordtype">void</span> ConstructL(<span class="keyword">const</span> TRect& aRect);
<a name="l00103"></a>00103
<a name="l00109"></a>00109 <a class="code" href="class_c_e_com_calculator_app_view.html">CEComCalculatorAppView</a>();
<a name="l00110"></a>00110
<a name="l00111"></a>00111
<a name="l00112"></a>00112 <span class="keyword">private</span>: <span class="comment">// from CCoeControl</span>
<a name="l00113"></a>00113
<a name="l00119"></a>00119 <span class="keywordtype">void</span> SizeChanged();
<a name="l00120"></a>00120
<a name="l00126"></a>00126 TInt CountComponentControls() <span class="keyword">const</span>;
<a name="l00127"></a>00127
<a name="l00135"></a>00135 CCoeControl* ComponentControl(TInt aIndex) <span class="keyword">const</span>;
<a name="l00136"></a>00136
<a name="l00145"></a>00145 <span class="keywordtype">void</span> Draw(<span class="keyword">const</span> TRect& aRect) <span class="keyword">const</span>;
<a name="l00146"></a>00146
<a name="l00157"></a>00157 TKeyResponse OfferKeyEventL(<span class="keyword">const</span> TKeyEvent& aKeyEvent,
<a name="l00158"></a>00158 TEventCode aType);
<a name="l00159"></a>00159
<a name="l00160"></a>00160 <span class="keyword">private</span>:
<a name="l00161"></a>00161
<a name="l00162"></a>00162 CEikLabel* iLabelA;
<a name="l00163"></a>00163 CEikLabel* iLabelB;
<a name="l00164"></a>00164 CEikEdwin* iEdwinA;
<a name="l00165"></a>00165 CEikEdwin* iEdwinB;
<a name="l00166"></a>00166 CEikLabel* iLabelResult;
<a name="l00167"></a>00167 };
<a name="l00168"></a>00168
<a name="l00169"></a>00169
<a name="l00170"></a>00170 <span class="preprocessor">#endif // __ECOMCALCULATORAPPVIEW_H__</span>
</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>