|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
|
3 <title>TB10.1 Example Applications: examples/SysLibs/EzlibExample/ezlibexample.cpp File Reference</title> |
|
4 <link href="doxygen.css" rel="stylesheet" type="text/css"> |
|
5 <link href="tabs.css" rel="stylesheet" type="text/css"> |
|
6 </head><body> |
|
7 <!-- Generated by Doxygen 1.5.3 --> |
|
8 <h1>examples/SysLibs/EzlibExample/ezlibexample.cpp File Reference</h1> |
|
9 <p> |
|
10 <a href="ezlibexample_8cpp-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
|
11 <tr><td></td></tr> |
|
12 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
|
13 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="91358f786f36e8cde6adf64e432d089b"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="91358f786f36e8cde6adf64e432d089b" args="(KTitle,"Ezlib example")" --> |
|
14 </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTitle,"Ezlib example")</td></tr> |
|
15 |
|
16 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0ac2fb0a63f089fdce518a302f37b9d5"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="0ac2fb0a63f089fdce518a302f37b9d5" args="(KTextPressAKey,"\n\nPress any key to step through the example\n")" --> |
|
17 </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTextPressAKey,"\n\nPress any key to step through the example\n")</td></tr> |
|
18 |
|
19 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f0fa1f356ccf64e0a3f03e9a0c202b66"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="f0fa1f356ccf64e0a3f03e9a0c202b66" args="(KExit,"\nPress any key to exit the application")" --> |
|
20 </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KExit,"\nPress any key to exit the application")</td></tr> |
|
21 |
|
22 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="be7269e632d6878521fc75373ae7869e"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="be7269e632d6878521fc75373ae7869e" args="(KPressAKey,"\nPress any key to continue \n")" --> |
|
23 </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KPressAKey,"\nPress any key to continue \n")</td></tr> |
|
24 |
|
25 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9bd15b47128bddec1af46c49518c574e"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="9bd15b47128bddec1af46c49518c574e" args="(KProperties,"Press any key to have a look at the properties of the zipped files \n")" --> |
|
26 </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> |
|
27 |
|
28 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4214317a9701a42bb2fec46fd7359851"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="4214317a9701a42bb2fec46fd7359851" args="(KDecompress,"Gzip file successfully decompressed\n")" --> |
|
29 </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KDecompress,"Gzip file successfully decompressed\n")</td></tr> |
|
30 |
|
31 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d34cfa5bcf85b79901baaa334193a8b2"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="d34cfa5bcf85b79901baaa334193a8b2" args="(KCompress,"\nFile successfully compressed to gzip format and saved\n")" --> |
|
32 </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KCompress,"\nFile successfully compressed to gzip format and saved\n")</td></tr> |
|
33 |
|
34 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="49f4b2cfd960ec553e843cf9995cd6b7"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="49f4b2cfd960ec553e843cf9995cd6b7" args="(KNoFilesFound,"No appropriate files located in this folder.\r\n")" --> |
|
35 </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KNoFilesFound,"No appropriate files located in this folder.\r\n")</td></tr> |
|
36 |
|
37 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9d945ef35bc90466e1c12601f90c8002"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="9d945ef35bc90466e1c12601f90c8002" args="(KLineSpace,"\r\n")" --> |
|
38 </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KLineSpace,"\r\n")</td></tr> |
|
39 |
|
40 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7c0bc1721015b5a892ddb36211bdbf76"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="7c0bc1721015b5a892ddb36211bdbf76" args="(KFileInfo,"\nCompressing file %S")" --> |
|
41 </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KFileInfo,"\nCompressing file %S")</td></tr> |
|
42 |
|
43 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e0ec5115d864359d5e5ffdb46380bf11"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="e0ec5115d864359d5e5ffdb46380bf11" args="(KFileOpen,"\nOpening file: %S\r\n")" --> |
|
44 </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KFileOpen,"\nOpening file: %S\r\n")</td></tr> |
|
45 |
|
46 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="628ac8d503e5848f4d466167dbf5bb8d"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="628ac8d503e5848f4d466167dbf5bb8d" args="(KFileExtract,"\nExtracting the file %S\n")" --> |
|
47 </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KFileExtract,"\nExtracting the file %S\n")</td></tr> |
|
48 |
|
49 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9c8d5e3da26f7ae72bc2c40bb422d8da"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="9c8d5e3da26f7ae72bc2c40bb422d8da" args="(KFileZipExtract,"\nExtracting files from the zip file %S\n")" --> |
|
50 </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KFileZipExtract,"\nExtracting files from the zip file %S\n")</td></tr> |
|
51 |
|
52 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1b214a75f7564e18522bc08496aaaeb5"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="1b214a75f7564e18522bc08496aaaeb5" args="(KZipName,"\nName: %S ")" --> |
|
53 </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KZipName,"\nName: %S ")</td></tr> |
|
54 |
|
55 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="12b95f99d1194b7a04e696062dc6ddec"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="12b95f99d1194b7a04e696062dc6ddec" args="(KZipCRC32,"\nCRC32: %X ")" --> |
|
56 </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KZipCRC32,"\nCRC32: %X ")</td></tr> |
|
57 |
|
58 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e15239d075fddaa0d0369dc431eaacff"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="e15239d075fddaa0d0369dc431eaacff" args="(KZipCSize,"\nCompressed Size: %d")" --> |
|
59 </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KZipCSize,"\nCompressed Size: %d")</td></tr> |
|
60 |
|
61 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="17ad10ae717ea33502be464227946f03"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="17ad10ae717ea33502be464227946f03" args="(KZipUCSize,"\nUncompressed Size: %d")" --> |
|
62 </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KZipUCSize,"\nUncompressed Size: %d")</td></tr> |
|
63 |
|
64 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9e10467cfcc7d0f4b0ad36daa26d639a"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="9e10467cfcc7d0f4b0ad36daa26d639a" args="(KOpenedSuccessfully,"%S opened successfully.\n")" --> |
|
65 </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KOpenedSuccessfully,"%S opened successfully.\n")</td></tr> |
|
66 |
|
67 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a70e107f213cb827296da09d51688554"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="a70e107f213cb827296da09d51688554" args="(KExtractZipPathMulti,"\\private\\E80000B7\\zip\\extracts\\")" --> |
|
68 </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KExtractZipPathMulti,"\\private\\E80000B7\\zip\\extracts\\")</td></tr> |
|
69 |
|
70 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a720fcede100cc8800dae62f6078ca40"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="a720fcede100cc8800dae62f6078ca40" args="(KExtractZipPathSingle,"\\private\\E80000B7\\zip\\extracts\\singlefile\\")" --> |
|
71 </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KExtractZipPathSingle,"\\private\\E80000B7\\zip\\extracts\\singlefile\\")</td></tr> |
|
72 |
|
73 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dff0f1bc4db537ad40756b8733ed38ec"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="dff0f1bc4db537ad40756b8733ed38ec" args="(KCompressGzipPath,"\\private\\E80000B7\\gzip\\extracts\\")" --> |
|
74 </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KCompressGzipPath,"\\private\\E80000B7\\gzip\\extracts\\")</td></tr> |
|
75 |
|
76 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="82c6c8e8562fa1013fc824e2dc80fea4"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="82c6c8e8562fa1013fc824e2dc80fea4" args="(KCompressZipFile,"icon.bmp")" --> |
|
77 </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KCompressZipFile,"icon.bmp")</td></tr> |
|
78 |
|
79 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d95647b7b9250b5a02236c544a233fd0"></a><!-- doxytag: member="ezlibexample.cpp::_LIT" ref="d95647b7b9250b5a02236c544a233fd0" args="(KExtractGzipFile,"error.wav")" --> |
|
80 </td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KExtractGzipFile,"error.wav")</td></tr> |
|
81 |
|
82 <tr><td class="memItemLeft" nowrap align="right" valign="top">LOCAL_C void </td><td class="memItemRight" valign="bottom"><a class="el" href="ezlibexample_8cpp.html#689e0bf9aa924a1d7dc108665d44736c">MainL</a> ()</td></tr> |
|
83 |
|
84 <tr><td class="memItemLeft" nowrap align="right" valign="top">GLDEF_C TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="ezlibexample_8cpp.html#0f358e9c4355138f629b8c4f37310295">E32Main</a> ()</td></tr> |
|
85 |
|
86 </table> |
|
87 <hr><a name="_details"></a><h2>Detailed Description</h2> |
|
88 |
|
89 <p>Definition in file <a class="el" href="ezlibexample_8cpp-source.html">ezlibexample.cpp</a>.</p> |
|
90 <hr><h2>Function Documentation</h2> |
|
91 <a class="anchor" name="689e0bf9aa924a1d7dc108665d44736c"></a><!-- doxytag: member="ezlibexample.cpp::MainL" ref="689e0bf9aa924a1d7dc108665d44736c" args="()" --> |
|
92 <div class="memitem"> |
|
93 <div class="memproto"> |
|
94 <table class="memname"> |
|
95 <tr> |
|
96 <td class="memname">LOCAL_C void MainL </td> |
|
97 <td>(</td> |
|
98 <td class="paramname"> </td> |
|
99 <td> ) </td> |
|
100 <td width="100%"></td> |
|
101 </tr> |
|
102 </table> |
|
103 </div> |
|
104 <div class="memdoc"> |
|
105 |
|
106 <p> |
|
107 Much simpler <a class="el" href="circularbuffer_8cpp.html#5fb473d4ee18739183215b04dcad6e12">MainL()</a>, uses the new Rendezvous() call to sync with the client<p> |
|
108 Secure variant Much simpler, uses the new Rendezvous() call to sync with the client |
|
109 <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> |
|
110 |
|
111 </div> |
|
112 </div><p> |
|
113 <a class="anchor" name="0f358e9c4355138f629b8c4f37310295"></a><!-- doxytag: member="ezlibexample.cpp::E32Main" ref="0f358e9c4355138f629b8c4f37310295" args="()" --> |
|
114 <div class="memitem"> |
|
115 <div class="memproto"> |
|
116 <table class="memname"> |
|
117 <tr> |
|
118 <td class="memname">GLDEF_C TInt E32Main </td> |
|
119 <td>(</td> |
|
120 <td class="paramname"> </td> |
|
121 <td> ) </td> |
|
122 <td width="100%"></td> |
|
123 </tr> |
|
124 </table> |
|
125 </div> |
|
126 <div class="memdoc"> |
|
127 |
|
128 <p> |
|
129 Returns standard error code on exit<p> |
|
130 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> |
|
131 Standard Epoc error code on process exit Secure variant only Process entry point. Called by client using RProcess API</dd></dl> |
|
132 Entry point for the example<p> |
|
133 The E32main function is the main entry point for the code.<p> |
|
134 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> |
|
135 Standard entry point function. |
|
136 <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> |
|
137 |
|
138 </div> |
|
139 </div><p> |
|
140 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 21 10:33:02 2010 for TB10.1 Example Applications by |
|
141 <a href="http://www.doxygen.org/index.html"> |
|
142 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address> |
|
143 </body> |
|
144 </html> |