Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/starter_2inc_2_s60_resource_lab_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/Symbian_OS_Basics_Lab_Exercises_v3_1/Lab_04307.cb1/starter/inc/S60ResourceLabContainer.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/Symbian_OS_Basics_Lab_Exercises_v3_1/Lab_04307.cb1/starter/inc/S60ResourceLabContainer.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// Copyright (c) 2006 Nokia Corporation.</span>
<a name="l00002"></a>00002 
<a name="l00003"></a>00003 <span class="preprocessor">#ifndef S60RESOURCELABCONTAINER_H</span>
<a name="l00004"></a>00004 <span class="preprocessor"></span><span class="preprocessor">#define S60RESOURCELABCONTAINER_H</span>
<a name="l00005"></a>00005 <span class="preprocessor"></span>
<a name="l00006"></a>00006 <span class="comment">// INCLUDES</span>
<a name="l00007"></a>00007 <span class="preprocessor">#include &lt;coecntrl.h&gt;</span>
<a name="l00008"></a>00008    
<a name="l00009"></a>00009 <span class="comment">// FORWARD DECLARATIONS</span>
<a name="l00010"></a>00010 <span class="keyword">class </span>CEikLabel;        <span class="comment">// for example labels</span>
<a name="l00011"></a>00011 
<a name="l00012"></a>00012 <span class="comment">// CLASS DECLARATION</span>
<a name="l00013"></a>00013 
<a name="l00018"></a>00018 <span class="keyword">class </span><a class="code" href="class_c_s60_resource_lab_container.html">CS60ResourceLabContainer</a> : <span class="keyword">public</span> CCoeControl, MCoeControlObserver
<a name="l00019"></a>00019     {
<a name="l00020"></a>00020     <span class="keyword">public</span>: <span class="comment">// Constructors and destructor</span>
<a name="l00021"></a>00021         
<a name="l00026"></a>00026         <span class="keywordtype">void</span> <a class="code" href="class_c_s60_resource_lab_container.html#a0fda316ec756dacf23938db22bce62c7">ConstructL</a>(<span class="keyword">const</span> TRect&amp; aRect);
<a name="l00027"></a>00027 
<a name="l00031"></a>00031         <a class="code" href="class_c_s60_resource_lab_container.html#a9282a11f7b16dc1609333f4c44d20c36">~CS60ResourceLabContainer</a>();
<a name="l00032"></a>00032 
<a name="l00033"></a>00033     <span class="keyword">public</span>: <span class="comment">// New functions</span>
<a name="l00034"></a>00034         <span class="keywordtype">void</span> GoodbyeL();
<a name="l00035"></a>00035 
<a name="l00036"></a>00036     <span class="keyword">public</span>: <span class="comment">// Functions from base classes</span>
<a name="l00037"></a>00037 
<a name="l00038"></a>00038     <span class="keyword">private</span>: <span class="comment">// Functions from base classes</span>
<a name="l00039"></a>00039 
<a name="l00043"></a>00043         <span class="keywordtype">void</span> SizeChanged();
<a name="l00044"></a>00044 
<a name="l00048"></a>00048         TInt CountComponentControls() <span class="keyword">const</span>;
<a name="l00049"></a>00049 
<a name="l00053"></a>00053         CCoeControl* ComponentControl(TInt aIndex) <span class="keyword">const</span>;
<a name="l00054"></a>00054 
<a name="l00058"></a>00058         <span class="keywordtype">void</span> Draw(<span class="keyword">const</span> TRect&amp; aRect) <span class="keyword">const</span>;
<a name="l00059"></a>00059 
<a name="l00063"></a>00063         <span class="comment">// event handling section</span>
<a name="l00064"></a>00064         <span class="comment">// e.g Listbox events</span>
<a name="l00065"></a>00065         <span class="keywordtype">void</span> HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType);
<a name="l00066"></a>00066         
<a name="l00067"></a>00067     <span class="keyword">private</span>: <span class="comment">//data</span>
<a name="l00068"></a>00068         
<a name="l00069"></a>00069         CEikLabel* iLabel;          <span class="comment">// example label</span>
<a name="l00070"></a>00070         CEikLabel* iToDoLabel;      <span class="comment">// example label</span>
<a name="l00071"></a>00071     };
<a name="l00072"></a>00072 
<a name="l00073"></a>00073 <span class="preprocessor">#endif</span>
<a name="l00074"></a>00074 <span class="preprocessor"></span>
<a name="l00075"></a>00075 <span class="comment">// End of File</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>