Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/hybridapp_8cpp.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/PIPS/hybridapp/src/hybridapp.cpp File Reference</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 -->
<div class="contents">
<h1>examples/PIPS/hybridapp/src/hybridapp.cpp File Reference</h1>
<p><a href="hybridapp_8cpp_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hybridapp_8cpp.html#a2cb8584577937cf1b54bedf5f339d32b">DescToChar</a> (const TDesC &amp;aDes)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hybridapp_8cpp.html#acd930fa97b9d63260709595e22a0f881">PrintDriveInfoL</a> (const RFs &amp;aFs, const TInt aDriveNumber)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">LOCAL_C void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hybridapp_8cpp.html#a689e0bf9aa924a1d7dc108665d44736c">MainL</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GLDEF_C TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="hybridapp_8cpp.html#a0f358e9c4355138f629b8c4f37310295">E32Main</a> ()</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>

<p>Definition in file <a class="el" href="hybridapp_8cpp_source.html">hybridapp.cpp</a>.</p>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a2cb8584577937cf1b54bedf5f339d32b"></a><!-- doxytag: member="hybridapp.cpp::DescToChar" ref="a2cb8584577937cf1b54bedf5f339d32b" args="(const TDesC &amp;aDes)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* DescToChar </td>
          <td>(</td>
          <td class="paramtype">const TDesC &amp;&nbsp;</td>
          <td class="paramname"> <em>aDes</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Converts a TDesC derived descriptor to a 'C' string. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aDes</em>&nbsp;</td><td>The descriptor to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the character array that stores the converted string. </dd></dl>

<p>Definition at line <a class="el" href="hybridapp_8cpp_source.html#l00032">32</a> of file <a class="el" href="hybridapp_8cpp_source.html">hybridapp.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="acd930fa97b9d63260709595e22a0f881"></a><!-- doxytag: member="hybridapp.cpp::PrintDriveInfoL" ref="acd930fa97b9d63260709595e22a0f881" args="(const RFs &amp;aFs, const TInt aDriveNumber)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PrintDriveInfoL </td>
          <td>(</td>
          <td class="paramtype">const RFs &amp;&nbsp;</td>
          <td class="paramname"> <em>aFs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const TInt&nbsp;</td>
          <td class="paramname"> <em>aDriveNumber</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Prints the memory information for a drive. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aFs</em>&nbsp;</td><td>A handle to the file server session. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>aDriveNumber</em>&nbsp;</td><td>The drive number of the drive. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="hybridapp_8cpp_source.html#l00065">65</a> of file <a class="el" href="hybridapp_8cpp_source.html">hybridapp.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a689e0bf9aa924a1d7dc108665d44736c"></a><!-- doxytag: member="hybridapp.cpp::MainL" ref="a689e0bf9aa924a1d7dc108665d44736c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LOCAL_C void MainL </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Much simpler MainL(), uses the new Rendezvous() call to sync with the client</p>
<p>Secure variant Much simpler, uses the new Rendezvous() call to sync with the client </p>

<p>Definition at line <a class="el" href="hybridapp_8cpp_source.html#l00123">123</a> of file <a class="el" href="hybridapp_8cpp_source.html">hybridapp.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0f358e9c4355138f629b8c4f37310295"></a><!-- doxytag: member="hybridapp.cpp::E32Main" ref="a0f358e9c4355138f629b8c4f37310295" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GLDEF_C TInt E32Main </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns standard error code on exit</p>
<p>Secure variant only Process entry point. Called by client using RProcess API </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Standard Epoc error code on process exit</dd>
<dd>
Standard Epoc error code on process exit Secure variant only Process entry point. Called by client using RProcess API</dd></dl>
<p>Entry point for the example</p>
<p>The below section is added to make the code compatible with v9.1 This is because only exe files are compatible with v9.1</p>
<p>Standard entry point function. </p>

<p>Definition at line <a class="el" href="hybridapp_8cpp_source.html#l00202">202</a> of file <a class="el" href="hybridapp_8cpp_source.html">hybridapp.cpp</a>.</p>

</div>
</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>