Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/solution_2inc_2_descriptor_lab_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_04305.cb1/solution/inc/DescriptorLab.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_04305.cb1/solution/inc/DescriptorLab.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// Copyright: (c) 2006 Nokia Ltd.  All rights reserved.</span>
<a name="l00002"></a>00002 
<a name="l00003"></a>00003 <span class="preprocessor">#ifndef _DESCRIPTOR_LAB_</span>
<a name="l00004"></a>00004 <span class="preprocessor"></span><span class="preprocessor">#define _DESCRIPTOR_LAB_</span>
<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="comment">// CLASS DECLARATION</span>
<a name="l00006"></a>00006 
<a name="l00012"></a><a class="code" href="class_c_descriptor_lab.html">00012</a> <span class="keyword">class </span><a class="code" href="class_c_descriptor_lab.html">CDescriptorLab</a> : <span class="keyword">public</span> CBase
<a name="l00013"></a>00013     {
<a name="l00014"></a>00014 <span class="keyword">public</span>: <span class="comment">// construction / destruction</span>
<a name="l00018"></a>00018 <span class="comment"></span>    <span class="keyword">static</span> <a class="code" href="class_c_descriptor_lab.html">CDescriptorLab</a>* <a class="code" href="class_c_descriptor_lab.html#a25698463240723af038ed5270df2ff77">NewLC</a>();
<a name="l00019"></a>00019 
<a name="l00023"></a>00023     <a class="code" href="class_c_descriptor_lab.html#a3c025131d5a030b352ed21ee377913da">~CDescriptorLab</a>();
<a name="l00024"></a>00024 
<a name="l00025"></a>00025 <span class="keyword">public</span>: <span class="comment">// new functions</span>
<a name="l00029"></a>00029 <span class="comment"></span>    <span class="keywordtype">void</span> <a class="code" href="class_c_descriptor_lab.html#a16fa40a57579ad45f26ae86882da04aa">StartL</a>();
<a name="l00030"></a>00030 
<a name="l00031"></a>00031 <span class="keyword">private</span>: <span class="comment">// construction</span>
<a name="l00035"></a>00035 <span class="comment"></span>    <a class="code" href="class_c_descriptor_lab.html">CDescriptorLab</a>();
<a name="l00036"></a>00036 
<a name="l00040"></a>00040     <span class="keywordtype">void</span> ConstructL();
<a name="l00041"></a>00041 
<a name="l00042"></a>00042 <span class="keyword">private</span>: <span class="comment">// new functions</span>
<a name="l00046"></a>00046 <span class="comment"></span>    <span class="keywordtype">void</span> UseBufferDes();
<a name="l00047"></a>00047 
<a name="l00051"></a>00051     <span class="keywordtype">void</span> UseHeapDesL();
<a name="l00052"></a>00052 
<a name="l00057"></a>00057     <span class="keywordtype">void</span> GetStringFromUser(TDes&amp; aBuf);
<a name="l00058"></a>00058 
<a name="l00064"></a>00064     HBufC* StringFromUserL();
<a name="l00065"></a>00065 
<a name="l00069"></a>00069     TText CharFromUser();
<a name="l00070"></a>00070 
<a name="l00076"></a>00076     <span class="keywordtype">void</span> CharOccurance(TDesC&amp; aSearchStr);
<a name="l00077"></a>00077 
<a name="l00078"></a>00078 <span class="keyword">private</span>: <span class="comment">// data</span>
<a name="l00079"></a>00079     CConsoleBase* iConsole; <span class="comment">// Console window</span>
<a name="l00080"></a>00080     };
<a name="l00081"></a>00081 
<a name="l00082"></a>00082 <span class="preprocessor">#endif // _DESCRIPTOR_LAB_</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>