Week 12 contribution of SDK documentation_content. See release notes for details. Fixes Bug 1892, Bug 1522, Bug 1520, Bug 394, Bug 1319, Bug 344, Bug 1897
<!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: examples/PIPS/hybridapp/src/hybridapp.cpp File 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>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><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="hybridapp_8cpp.html#2cb8584577937cf1b54bedf5f339d32b">DescToChar</a> (const TDesC &aDes)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="hybridapp_8cpp.html#cd930fa97b9d63260709595e22a0f881">PrintDriveInfoL</a> (const RFs &aFs, const TInt aDriveNumber)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">LOCAL_C void </td><td class="memItemRight" valign="bottom"><a class="el" href="hybridapp_8cpp.html#689e0bf9aa924a1d7dc108665d44736c">MainL</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">GLDEF_C TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="hybridapp_8cpp.html#0f358e9c4355138f629b8c4f37310295">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" name="2cb8584577937cf1b54bedf5f339d32b"></a><!-- doxytag: member="hybridapp.cpp::DescToChar" ref="2cb8584577937cf1b54bedf5f339d32b" args="(const TDesC &aDes)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">char* DescToChar </td>
<td>(</td>
<td class="paramtype">const TDesC & </td>
<td class="paramname"> <em>aDes</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Converts a TDesC derived descriptor to a 'C' string. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>aDes</em> </td><td>The descriptor to be converted. </td></tr>
</table>
</dl>
<dl class="return" compact><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><p>
<a class="anchor" name="cd930fa97b9d63260709595e22a0f881"></a><!-- doxytag: member="hybridapp.cpp::PrintDriveInfoL" ref="cd930fa97b9d63260709595e22a0f881" args="(const RFs &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 & </td>
<td class="paramname"> <em>aFs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const TInt </td>
<td class="paramname"> <em>aDriveNumber</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Prints the memory information for a drive. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>aFs</em> </td><td>A handle to the file server session. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>aDriveNumber</em> </td><td>The drive number of the drive. </td></tr>
</table>
</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><p>
<a class="anchor" name="689e0bf9aa924a1d7dc108665d44736c"></a><!-- doxytag: member="hybridapp.cpp::MainL" ref="689e0bf9aa924a1d7dc108665d44736c" 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> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Much simpler <a class="el" href="circularbuffer_8cpp.html#5fb473d4ee18739183215b04dcad6e12">MainL()</a>, uses the new Rendezvous() call to sync with the client<p>
Secure variant Much simpler, uses the new Rendezvous() call to sync with the client
<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><p>
<a class="anchor" name="0f358e9c4355138f629b8c4f37310295"></a><!-- doxytag: member="hybridapp.cpp::E32Main" ref="0f358e9c4355138f629b8c4f37310295" 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> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns standard error code on exit<p>
Secure variant only Process entry point. Called by client using RProcess API <dl class="return" compact><dt><b>Returns:</b></dt><dd>Standard Epoc error code on process exit<p>
Standard Epoc error code on process exit Secure variant only Process entry point. Called by client using RProcess API</dd></dl>
Entry point for the example<p>
The E32main function is the main entry point for the code.<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>
Standard entry point function.
<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><p>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 21 10:33:02 2010 for TB10.1 Example Applications by
<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>