Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/_bluetooth_p_m_p_example_r_t_e_container_8h_source.html
author Dominic Pinkman <dominic.pinkman@nokia.com>
Fri, 13 Aug 2010 16:47:46 +0100
changeset 14 578be2adaf3e
parent 6 43e37759235e
permissions -rw-r--r--
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/BluetoothPMPExample/inc/BluetoothPMPExampleRTEContainer.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/BluetoothPMPExample/inc/BluetoothPMPExampleRTEContainer.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"> * Copyright © 2009 Nokia Corporation.</span>
<a name="l00003"></a>00003 <span class="comment"> */</span>
<a name="l00004"></a>00004 
<a name="l00005"></a>00005 <span class="preprocessor">#ifndef BLUETOOTH_EXAMPLE_RTE_CONTAINER_H</span>
<a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#define BLUETOOTH_EXAMPLE_RTE_CONTAINER_H</span>
<a name="l00007"></a>00007 <span class="preprocessor"></span>
<a name="l00008"></a>00008 <span class="comment">// INCLUDES</span>
<a name="l00009"></a>00009 <span class="preprocessor">#include &lt;coecntrl.h&gt;</span>
<a name="l00010"></a>00010 
<a name="l00011"></a>00011 <span class="comment">// FORWARD DECLARATIONS</span>
<a name="l00012"></a>00012 <span class="keyword">class </span><a class="code" href="class_c_rich_text_editor_r_t_e.html">CRichTextEditorRTE</a>;
<a name="l00013"></a>00013 
<a name="l00014"></a>00014 <span class="comment">// CLASS DECLARATION</span>
<a name="l00015"></a>00015 
<a name="l00020"></a><a class="code" href="class_c_bluetooth_p_m_p_example_r_t_e_container.html">00020</a> <span class="keyword">class </span><a class="code" href="class_c_bluetooth_p_m_p_example_r_t_e_container.html">CBluetoothPMPExampleRTEContainer</a> : <span class="keyword">public</span> CCoeControl
<a name="l00021"></a>00021     {
<a name="l00022"></a>00022     <span class="keyword">public</span>: <span class="comment">// Constructors and destructor</span>
<a name="l00023"></a>00023 
<a name="l00030"></a>00030         <span class="keyword">static</span> <a class="code" href="class_c_bluetooth_p_m_p_example_r_t_e_container.html">CBluetoothPMPExampleRTEContainer</a>* <a class="code" href="class_c_bluetooth_p_m_p_example_r_t_e_container.html#a405fe70e169011261fae1e3a49562069">NewL</a>(<span class="keyword">const</span> TRect&amp; aRect);
<a name="l00031"></a>00031 
<a name="l00035"></a>00035         <span class="keyword">static</span> <a class="code" href="class_c_bluetooth_p_m_p_example_r_t_e_container.html">CBluetoothPMPExampleRTEContainer</a>* <a class="code" href="class_c_bluetooth_p_m_p_example_r_t_e_container.html#aa5347bc29962fb5a6040ad195f6cc79e">NewLC</a>(<span class="keyword">const</span> TRect&amp; aRect);
<a name="l00036"></a>00036 
<a name="l00041"></a>00041         <span class="keywordtype">void</span> <a class="code" href="class_c_bluetooth_p_m_p_example_r_t_e_container.html#a2f57e01fd9d66ee8d2c88e9bbfe17267">ConstructL</a>(<span class="keyword">const</span> TRect&amp; aRect);
<a name="l00042"></a>00042 
<a name="l00046"></a>00046         <a class="code" href="class_c_bluetooth_p_m_p_example_r_t_e_container.html#ab317a2e1cfa91de150938c18f145441a">~CBluetoothPMPExampleRTEContainer</a>();
<a name="l00047"></a>00047 
<a name="l00048"></a>00048     <span class="keyword">public</span>: <span class="comment">// New functions</span>
<a name="l00049"></a>00049 
<a name="l00054"></a>00054         <span class="keywordtype">void</span> <a class="code" href="class_c_bluetooth_p_m_p_example_r_t_e_container.html#ad7cbf470f7e75c4362bf60d06f7bbd06">DrawTextL</a>( <span class="keyword">const</span> TDesC&amp; aText );
<a name="l00055"></a>00055 
<a name="l00060"></a>00060         <span class="keywordtype">void</span> <a class="code" href="class_c_bluetooth_p_m_p_example_r_t_e_container.html#af0554ff4a34dc08bd387829a1abfdf56">DrawTextWithoutCarriageL</a>( <span class="keyword">const</span> TDesC&amp; aText );
<a name="l00061"></a>00061 
<a name="l00066"></a>00066         <span class="keywordtype">void</span> <a class="code" href="class_c_bluetooth_p_m_p_example_r_t_e_container.html#a47b2f7a35d6b4e21b9b578b6e642faf0">DrawUnderlinedTextL</a>( <span class="keyword">const</span> TDesC&amp; aText );
<a name="l00067"></a>00067 
<a name="l00071"></a>00071         <span class="keywordtype">void</span> <a class="code" href="class_c_bluetooth_p_m_p_example_r_t_e_container.html#a7c743ee96300fedf3717e7ce97a4d712">DrawLineL</a>();
<a name="l00072"></a>00072 
<a name="l00076"></a>00076         <span class="keywordtype">void</span> <a class="code" href="class_c_bluetooth_p_m_p_example_r_t_e_container.html#ac95f4647209086263f7b03a9463c108d">AddCarriageReturnL</a>();
<a name="l00077"></a>00077 
<a name="l00081"></a>00081         <span class="keywordtype">void</span> <a class="code" href="class_c_bluetooth_p_m_p_example_r_t_e_container.html#a393a9455ee4fa0c1a5af36b876a73488">ShowMessageL</a>(<span class="keyword">const</span> TDesC&amp; aMsg);
<a name="l00082"></a>00082 
<a name="l00086"></a>00086         <span class="keywordtype">void</span> <a class="code" href="class_c_bluetooth_p_m_p_example_r_t_e_container.html#a74ce13ef67e6f323508107350d136977">SizeChanged</a>();
<a name="l00087"></a>00087                 
<a name="l00091"></a>00091         <span class="keywordtype">void</span> <a class="code" href="class_c_bluetooth_p_m_p_example_r_t_e_container.html#a6ed567c8d0c2988fe94987b1fce6c01c">ClearScreenL</a>();
<a name="l00092"></a>00092         
<a name="l00093"></a>00093     <span class="keyword">private</span>: <span class="comment">// Functions from base classes</span>
<a name="l00094"></a>00094 
<a name="l00098"></a>00098         TInt CountComponentControls() <span class="keyword">const</span>;
<a name="l00099"></a>00099 
<a name="l00103"></a>00103         CCoeControl* ComponentControl(TInt aIndex) <span class="keyword">const</span>;
<a name="l00104"></a>00104 
<a name="l00108"></a>00108         TKeyResponse OfferKeyEventL(<span class="keyword">const</span> TKeyEvent&amp; aKeyEvent,TEventCode aType);
<a name="l00109"></a>00109 
<a name="l00110"></a>00110         <span class="keywordtype">void</span> Draw( <span class="keyword">const</span> TRect&amp; aRect ) <span class="keyword">const</span>;
<a name="l00111"></a>00111         
<a name="l00112"></a>00112     <span class="keyword">private</span>:
<a name="l00113"></a>00113         TInt GetScrollbarWidth() <span class="keyword">const</span>;
<a name="l00114"></a>00114         
<a name="l00115"></a>00115     <span class="keyword">private</span>: <span class="comment">//data</span>
<a name="l00116"></a>00116 
<a name="l00117"></a>00117         <span class="comment">// Editor</span>
<a name="l00118"></a>00118         <a class="code" href="class_c_rich_text_editor_r_t_e.html">CRichTextEditorRTE</a>* iRte;
<a name="l00119"></a>00119     };
<a name="l00120"></a>00120 
<a name="l00121"></a>00121 <span class="preprocessor">#endif // BLUETOOTH_EXAMPLE_RTE_CONTAINER</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>