Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/ezlibexample_8cpp.html
Initial contribution of the Adaptation Documentation.
<!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/SysLibs/EzlibExample/ezlibexample.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/SysLibs/EzlibExample/ezlibexample.cpp File Reference</h1>
<p><a href="ezlibexample_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"><a class="anchor" id="a91358f786f36e8cde6adf64e432d089b"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="a91358f786f36e8cde6adf64e432d089b" args="(KTitle,"Ezlib example")" -->
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTitle,"Ezlib example")</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0ac2fb0a63f089fdce518a302f37b9d5"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="a0ac2fb0a63f089fdce518a302f37b9d5" args="(KTextPressAKey,"\n\nPress any key to step through the example\n")" -->
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTextPressAKey,"\n\nPress any key to step through the example\n")</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af0fa1f356ccf64e0a3f03e9a0c202b66"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="af0fa1f356ccf64e0a3f03e9a0c202b66" args="(KExit,"\nPress any key to exit the application")" -->
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KExit,"\nPress any key to exit the application")</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abe7269e632d6878521fc75373ae7869e"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="abe7269e632d6878521fc75373ae7869e" args="(KPressAKey,"\nPress any key to continue \n")" -->
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KPressAKey,"\nPress any key to continue \n")</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9bd15b47128bddec1af46c49518c574e"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="a9bd15b47128bddec1af46c49518c574e" args="(KProperties,"Press any key to have a look at the properties of the zipped files \n")" -->
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KProperties,"Press any key to have a look at the properties of the zipped files \n")</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4214317a9701a42bb2fec46fd7359851"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="a4214317a9701a42bb2fec46fd7359851" args="(KDecompress,"Gzip file successfully decompressed\n")" -->
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KDecompress,"Gzip file successfully decompressed\n")</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad34cfa5bcf85b79901baaa334193a8b2"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="ad34cfa5bcf85b79901baaa334193a8b2" args="(KCompress,"\nFile successfully compressed to gzip format and saved\n")" -->
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KCompress,"\nFile successfully compressed to gzip format and saved\n")</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a49f4b2cfd960ec553e843cf9995cd6b7"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="a49f4b2cfd960ec553e843cf9995cd6b7" args="(KNoFilesFound,"No appropriate files located in this folder.\r\n")" -->
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KNoFilesFound,"No appropriate files located in this folder.\r\n")</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9d945ef35bc90466e1c12601f90c8002"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="a9d945ef35bc90466e1c12601f90c8002" args="(KLineSpace,"\r\n")" -->
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KLineSpace,"\r\n")</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7c0bc1721015b5a892ddb36211bdbf76"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="a7c0bc1721015b5a892ddb36211bdbf76" args="(KFileInfo,"\nCompressing file %S")" -->
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KFileInfo,"\nCompressing file %S")</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae0ec5115d864359d5e5ffdb46380bf11"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="ae0ec5115d864359d5e5ffdb46380bf11" args="(KFileOpen,"\nOpening file: %S\r\n")" -->
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KFileOpen,"\nOpening file: %S\r\n")</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a628ac8d503e5848f4d466167dbf5bb8d"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="a628ac8d503e5848f4d466167dbf5bb8d" args="(KFileExtract,"\nExtracting the file %S\n")" -->
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KFileExtract,"\nExtracting the file %S\n")</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9c8d5e3da26f7ae72bc2c40bb422d8da"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="a9c8d5e3da26f7ae72bc2c40bb422d8da" args="(KFileZipExtract,"\nExtracting files from the zip file %S\n")" -->
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KFileZipExtract,"\nExtracting files from the zip file %S\n")</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1b214a75f7564e18522bc08496aaaeb5"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="a1b214a75f7564e18522bc08496aaaeb5" args="(KZipName,"\nName: %S ")" -->
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KZipName,"\nName: %S ")</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a12b95f99d1194b7a04e696062dc6ddec"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="a12b95f99d1194b7a04e696062dc6ddec" args="(KZipCRC32,"\nCRC32: %X ")" -->
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KZipCRC32,"\nCRC32: %X ")</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae15239d075fddaa0d0369dc431eaacff"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="ae15239d075fddaa0d0369dc431eaacff" args="(KZipCSize,"\nCompressed Size: %d")" -->
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KZipCSize,"\nCompressed Size: %d")</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a17ad10ae717ea33502be464227946f03"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="a17ad10ae717ea33502be464227946f03" args="(KZipUCSize,"\nUncompressed Size: %d")" -->
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KZipUCSize,"\nUncompressed Size: %d")</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9e10467cfcc7d0f4b0ad36daa26d639a"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="a9e10467cfcc7d0f4b0ad36daa26d639a" args="(KOpenedSuccessfully,"%S opened successfully.\n")" -->
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KOpenedSuccessfully,"%S opened successfully.\n")</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa70e107f213cb827296da09d51688554"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="aa70e107f213cb827296da09d51688554" args="(KExtractZipPathMulti,"\\private\\E80000B7\\zip\\extracts\\")" -->
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KExtractZipPathMulti,"\\private\\E80000B7\\zip\\extracts\\")</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa720fcede100cc8800dae62f6078ca40"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="aa720fcede100cc8800dae62f6078ca40" args="(KExtractZipPathSingle,"\\private\\E80000B7\\zip\\extracts\\singlefile\\")" -->
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KExtractZipPathSingle,"\\private\\E80000B7\\zip\\extracts\\singlefile\\")</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adff0f1bc4db537ad40756b8733ed38ec"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="adff0f1bc4db537ad40756b8733ed38ec" args="(KCompressGzipPath,"\\private\\E80000B7\\gzip\\extracts\\")" -->
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KCompressGzipPath,"\\private\\E80000B7\\gzip\\extracts\\")</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a82c6c8e8562fa1013fc824e2dc80fea4"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="a82c6c8e8562fa1013fc824e2dc80fea4" args="(KCompressZipFile,"icon.bmp")" -->
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KCompressZipFile,"icon.bmp")</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad95647b7b9250b5a02236c544a233fd0"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="ad95647b7b9250b5a02236c544a233fd0" args="(KExtractGzipFile,"error.wav")" -->
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KExtractGzipFile,"error.wav")</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">LOCAL_C void </td><td class="memItemRight" valign="bottom"><a class="el" href="ezlibexample_8cpp.html#a689e0bf9aa924a1d7dc108665d44736c">MainL</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GLDEF_C TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="ezlibexample_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="ezlibexample_8cpp_source.html">ezlibexample.cpp</a>.</p>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a689e0bf9aa924a1d7dc108665d44736c"></a><!-- doxytag: member="ezlibexample.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> ) </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="ezlibexample_8cpp_source.html#l00407">407</a> of file <a class="el" href="ezlibexample_8cpp_source.html">ezlibexample.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a0f358e9c4355138f629b8c4f37310295"></a><!-- doxytag: member="ezlibexample.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> ) </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>A normal Symbian OS executable provides an E32Main() function which is called by the operating system to start the program. </p>
<p>Definition at line <a class="el" href="ezlibexample_8cpp_source.html#l00452">452</a> of file <a class="el" href="ezlibexample_8cpp_source.html">ezlibexample.cpp</a>.</p>
</div>
</div>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
</body>
</html>