Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_feature_checker.html
author Dominic Pinkman <Dominic.Pinkman@Nokia.com>
Fri, 22 Jan 2010 18:26:19 +0000
changeset 1 25a17d01db0c
child 6 43e37759235e
permissions -rw-r--r--
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>TB10.1 Example Applications: CFeatureChecker Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.3 -->
<h1>CFeatureChecker Class Reference</h1><!-- doxytag: class="CFeatureChecker" -->
<p>
<a href="class_c_feature_checker-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_feature_checker.html#2f290dbff4a1e23854b1acd0038836ed">~CFeatureChecker</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_feature_checker.html#2d4636a82989321c291e135004d74247">HandleNotifyChange</a> (TFeatureChangeType aType, TFeatureEntry aFeature)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_feature_checker.html#e0338caa887d637c92972b5b91bfa76a">HandleNotifyError</a> (TInt aError)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_feature_checker.html#d81e893eb0476ad7aed4b31d77fb131f">NotifyFeatureL</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0529f6ad0b87d00e4ba0110100fdc837"></a><!-- doxytag: member="CFeatureChecker::NewL" ref="0529f6ad0b87d00e4ba0110100fdc837" args="()" -->
static <a class="el" href="class_c_feature_checker.html">CFeatureChecker</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_feature_checker.html#0529f6ad0b87d00e4ba0110100fdc837">NewL</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e3e9b0382fab377cbb24147c943f831c"></a><!-- doxytag: member="CFeatureChecker::ConstructL" ref="e3e9b0382fab377cbb24147c943f831c" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_feature_checker.html#e3e9b0382fab377cbb24147c943f831c">ConstructL</a> ()</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
This class implements the MFeatureObserver interface methods to receive notification of changes to features. 
<p>Definition at line <a class="el" href="_feature_checker_8h-source.html#l00025">25</a> of file <a class="el" href="_feature_checker_8h-source.html">FeatureChecker.h</a>.</p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="2f290dbff4a1e23854b1acd0038836ed"></a><!-- doxytag: member="CFeatureChecker::~CFeatureChecker" ref="2f290dbff4a1e23854b1acd0038836ed" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CFeatureChecker::~CFeatureChecker           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Cancels any outstanding notification request before deleting the feature notifier. 
<p>Definition at line <a class="el" href="_feature_checker_8cpp-source.html#l00036">36</a> of file <a class="el" href="_feature_checker_8cpp-source.html">FeatureChecker.cpp</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="2d4636a82989321c291e135004d74247"></a><!-- doxytag: member="CFeatureChecker::HandleNotifyChange" ref="2d4636a82989321c291e135004d74247" args="(TFeatureChangeType aType, TFeatureEntry aFeature)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CFeatureChecker::HandleNotifyChange           </td>
          <td>(</td>
          <td class="paramtype">TFeatureChangeType&nbsp;</td>
          <td class="paramname"> <em>aType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TFeatureEntry&nbsp;</td>
          <td class="paramname"> <em>aFeature</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This is a callback method of MFeatureObserver which is used to notify the FeatureChecker process about changes to a feature. TFeatureChangeType specifies the type of change. The change type is displayed to the user in the form of an InfoPrint. 
<p>Definition at line <a class="el" href="_feature_checker_8cpp-source.html#l00081">81</a> of file <a class="el" href="_feature_checker_8cpp-source.html">FeatureChecker.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="e0338caa887d637c92972b5b91bfa76a"></a><!-- doxytag: member="CFeatureChecker::HandleNotifyError" ref="e0338caa887d637c92972b5b91bfa76a" args="(TInt aError)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CFeatureChecker::HandleNotifyError           </td>
          <td>(</td>
          <td class="paramtype">TInt&nbsp;</td>
          <td class="paramname"> <em>aError</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Any error in the notifier is handled by this function, not used in this example implementation. 
<p>Definition at line <a class="el" href="_feature_checker_8cpp-source.html#l00072">72</a> of file <a class="el" href="_feature_checker_8cpp-source.html">FeatureChecker.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="d81e893eb0476ad7aed4b31d77fb131f"></a><!-- doxytag: member="CFeatureChecker::NotifyFeatureL" ref="d81e893eb0476ad7aed4b31d77fb131f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CFeatureChecker::NotifyFeatureL           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Subscribes to receive change notification for an array of feature UIDs. 
<p>Definition at line <a class="el" href="_feature_checker_8cpp-source.html#l00044">44</a> of file <a class="el" href="_feature_checker_8cpp-source.html">FeatureChecker.cpp</a>.</p>

</div>
</div><p>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 21 10:33:05 2010 for TB10.1 Example Applications by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
</html>