Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_phone_id.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: CPhoneId 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>CPhoneId Class Reference</h1><!-- doxytag: class="CPhoneId" --><!-- doxytag: inherits="CISVAPIAsync,CISVAPISync" --><div class="dynheader">
Inheritance diagram for CPhoneId:</div>
<div class="dynsection">

<p><center><img src="class_c_phone_id.png" usemap="#CPhoneId_map" border="0" alt=""></center>
<map name="CPhoneId_map">
<area href="class_c_i_s_v_a_p_i_async.html" alt="CISVAPIAsync" shape="rect" coords="0,56,97,80">
<area href="class_c_i_s_v_a_p_i_sync.html" alt="CISVAPISync" shape="rect" coords="107,56,204,80">
<area href="class_c_i_s_v_a_p_i_base.html" alt="CISVAPIBase" shape="rect" coords="0,0,97,24">
<area href="class_c_i_s_v_a_p_i_base.html" alt="CISVAPIBase" shape="rect" coords="107,0,204,24">
</map>
</div>

<p>
<a href="class_c_phone_id-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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_phone_id.html#1659778790f8b3cfe1e1f46ca7c3aa39">~CPhoneId</a> ()</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_phone_id.html#72d1f4ceba1e9d935a01d6647739f6b4">DoStartRequestL</a> ()</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_phone_id.html#72d1f4ceba1e9d935a01d6647739f6b4">DoStartRequestL</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">static <a class="el" href="class_c_phone_id.html">CPhoneId</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_phone_id.html#693a1cb8932d02ec3c856c8c32f9a7ec">NewL</a> (<a class="el" href="class_m_exec_sync.html">MExecSync</a> *aController)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_c_phone_id.html">CPhoneId</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_phone_id.html#e733ef6bcbb0ba9120ed29efe1bc53d9">NewL</a> (<a class="el" href="class_m_exec_async.html">MExecAsync</a> *aController)</td></tr>

<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">CTelephony::TPhoneIdV1&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_phone_id.html#8dedfc00eceb4cd31e9f50b1049327c6">iPhoneIdV1</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Retrieves information regarding the current phone and prints this to the console.<p>
Verifies that the running application is registered. 
<p>Definition at line <a class="el" href="_phone_id_2_c_phone_id_8h-source.html#l00034">34</a> of file <a class="el" href="_phone_id_2_c_phone_id_8h-source.html">CPhoneId.h</a>.</p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="1659778790f8b3cfe1e1f46ca7c3aa39"></a><!-- doxytag: member="CPhoneId::~CPhoneId" ref="1659778790f8b3cfe1e1f46ca7c3aa39" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CPhoneId::~CPhoneId           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destructor. Cancels outstanding requests<p>
Destructor. Cancels outstanding requests. 
<p>Definition at line <a class="el" href="_phone_id_2_c_phone_id_8cpp-source.html#l00039">39</a> of file <a class="el" href="_phone_id_2_c_phone_id_8cpp-source.html">CPhoneId.cpp</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="693a1cb8932d02ec3c856c8c32f9a7ec"></a><!-- doxytag: member="CPhoneId::NewL" ref="693a1cb8932d02ec3c856c8c32f9a7ec" args="(MExecSync *aController)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_phone_id.html">CPhoneId</a> * CPhoneId::NewL           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_m_exec_sync.html">MExecSync</a> *&nbsp;</td>
          <td class="paramname"> <em>aController</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Factory constructor.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aController</em>&nbsp;</td><td>Pointer to <a class="el" href="class_m_exec_async.html">MExecAsync</a> object passed to constructor of <a class="el" href="class_c_i_s_v_a_p_i_base.html">CISVAPIBase</a> </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Instance of <a class="el" href="class_c_phone_id.html">CPhoneId</a> class </dd></dl>

<p>Definition at line <a class="el" href="_phone_id_2_c_phone_id_8cpp-source.html#l00026">26</a> of file <a class="el" href="_phone_id_2_c_phone_id_8cpp-source.html">CPhoneId.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="72d1f4ceba1e9d935a01d6647739f6b4"></a><!-- doxytag: member="CPhoneId::DoStartRequestL" ref="72d1f4ceba1e9d935a01d6647739f6b4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CPhoneId::DoStartRequestL           </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>
Gets the phone ID by calling 3rd party API function CTelephony::GetPhoneId(). 
<p>Reimplemented from <a class="el" href="class_c_i_s_v_a_p_i_base.html#f5a272546d704790a27788fcd45598b5">CISVAPIBase</a>.</p>

<p>Definition at line <a class="el" href="_phone_id_2_c_phone_id_8cpp-source.html#l00047">47</a> of file <a class="el" href="_phone_id_2_c_phone_id_8cpp-source.html">CPhoneId.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="e733ef6bcbb0ba9120ed29efe1bc53d9"></a><!-- doxytag: member="CPhoneId::NewL" ref="e733ef6bcbb0ba9120ed29efe1bc53d9" args="(MExecAsync *aController)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_phone_id.html">CPhoneId</a> * CPhoneId::NewL           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_m_exec_async.html">MExecAsync</a> *&nbsp;</td>
          <td class="paramname"> <em>aController</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Factory constructor.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aController</em>&nbsp;</td><td>Pointer to <a class="el" href="class_m_exec_async.html">MExecAsync</a> object passed to constructor of <a class="el" href="class_c_i_s_v_a_p_i_base.html">CISVAPIBase</a> </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Instance of <a class="el" href="class_c_phone_id.html">CPhoneId</a> class </dd></dl>

<p>Definition at line <a class="el" href="_shared_2_c_phone_id_8cpp-source.html#l00035">35</a> of file <a class="el" href="_shared_2_c_phone_id_8cpp-source.html">CPhoneId.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="72d1f4ceba1e9d935a01d6647739f6b4"></a><!-- doxytag: member="CPhoneId::DoStartRequestL" ref="72d1f4ceba1e9d935a01d6647739f6b4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CPhoneId::DoStartRequestL           </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>
Virtual function for completing the request to start. Empty method. 
<p>Reimplemented from <a class="el" href="class_c_i_s_v_a_p_i_base.html#f5a272546d704790a27788fcd45598b5">CISVAPIBase</a>.</p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="8dedfc00eceb4cd31e9f50b1049327c6"></a><!-- doxytag: member="CPhoneId::iPhoneIdV1" ref="8dedfc00eceb4cd31e9f50b1049327c6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CTelephony::TPhoneIdV1 <a class="el" href="class_c_phone_id.html#8dedfc00eceb4cd31e9f50b1049327c6">CPhoneId::iPhoneIdV1</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Stores the mobile phone identity information which is checked by the running application. 
<p>Definition at line <a class="el" href="_phone_id_2_c_phone_id_8h-source.html#l00058">58</a> of file <a class="el" href="_phone_id_2_c_phone_id_8h-source.html">CPhoneId.h</a>.</p>

</div>
</div><p>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 21 10:33:07 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>