1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
2 <html xmlns="http://www.w3.org/1999/xhtml"> |
3 <title>TB10.1 Example Applications: examples/PIPS/hybridapp/src/hybridapp.cpp File Reference</title> |
3 <head> |
4 <link href="doxygen.css" rel="stylesheet" type="text/css"> |
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
5 <link href="tabs.css" rel="stylesheet" type="text/css"> |
5 <title>TB9.2 Example Applications: examples/PIPS/hybridapp/src/hybridapp.cpp File Reference</title> |
6 </head><body> |
6 <link href="tabs.css" rel="stylesheet" type="text/css"/> |
7 <!-- Generated by Doxygen 1.5.3 --> |
7 <link href="doxygen.css" rel="stylesheet" type="text/css"/> |
|
8 </head> |
|
9 <body> |
|
10 <!-- Generated by Doxygen 1.6.2 --> |
|
11 <div class="contents"> |
8 <h1>examples/PIPS/hybridapp/src/hybridapp.cpp File Reference</h1> |
12 <h1>examples/PIPS/hybridapp/src/hybridapp.cpp File Reference</h1> |
9 <p> |
13 <p><a href="hybridapp_8cpp_source.html">Go to the source code of this file.</a></p> |
10 <a href="hybridapp_8cpp-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
14 <table border="0" cellpadding="0" cellspacing="0"> |
11 <tr><td></td></tr> |
15 <tr><td colspan="2"><h2>Functions</h2></td></tr> |
12 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
16 <tr><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="hybridapp_8cpp.html#a2cb8584577937cf1b54bedf5f339d32b">DescToChar</a> (const TDesC &aDes)</td></tr> |
13 <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> |
17 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="hybridapp_8cpp.html#acd930fa97b9d63260709595e22a0f881">PrintDriveInfoL</a> (const RFs &aFs, const TInt aDriveNumber)</td></tr> |
|
18 <tr><td class="memItemLeft" align="right" valign="top">LOCAL_C void </td><td class="memItemRight" valign="bottom"><a class="el" href="hybridapp_8cpp.html#a689e0bf9aa924a1d7dc108665d44736c">MainL</a> ()</td></tr> |
|
19 <tr><td class="memItemLeft" align="right" valign="top">GLDEF_C TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="hybridapp_8cpp.html#a0f358e9c4355138f629b8c4f37310295">E32Main</a> ()</td></tr> |
|
20 </table> |
|
21 <hr/><a name="_details"></a><h2>Detailed Description</h2> |
14 |
22 |
15 <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> |
23 <p>Definition in file <a class="el" href="hybridapp_8cpp_source.html">hybridapp.cpp</a>.</p> |
16 |
24 <hr/><h2>Function Documentation</h2> |
17 <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> |
25 <a class="anchor" id="a2cb8584577937cf1b54bedf5f339d32b"></a><!-- doxytag: member="hybridapp.cpp::DescToChar" ref="a2cb8584577937cf1b54bedf5f339d32b" args="(const TDesC &aDes)" --> |
18 |
|
19 <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> |
|
20 |
|
21 </table> |
|
22 <hr><a name="_details"></a><h2>Detailed Description</h2> |
|
23 |
|
24 <p>Definition in file <a class="el" href="hybridapp_8cpp-source.html">hybridapp.cpp</a>.</p> |
|
25 <hr><h2>Function Documentation</h2> |
|
26 <a class="anchor" name="2cb8584577937cf1b54bedf5f339d32b"></a><!-- doxytag: member="hybridapp.cpp::DescToChar" ref="2cb8584577937cf1b54bedf5f339d32b" args="(const TDesC &aDes)" --> |
|
27 <div class="memitem"> |
26 <div class="memitem"> |
28 <div class="memproto"> |
27 <div class="memproto"> |
29 <table class="memname"> |
28 <table class="memname"> |
30 <tr> |
29 <tr> |
31 <td class="memname">char* DescToChar </td> |
30 <td class="memname">char* DescToChar </td> |
32 <td>(</td> |
31 <td>(</td> |
33 <td class="paramtype">const TDesC & </td> |
32 <td class="paramtype">const TDesC & </td> |
34 <td class="paramname"> <em>aDes</em> </td> |
33 <td class="paramname"> <em>aDes</em></td> |
35 <td> ) </td> |
34 <td> ) </td> |
36 <td width="100%"></td> |
35 <td></td> |
37 </tr> |
36 </tr> |
38 </table> |
37 </table> |
39 </div> |
38 </div> |
40 <div class="memdoc"> |
39 <div class="memdoc"> |
41 |
40 <p>Converts a TDesC derived descriptor to a 'C' string. </p> |
42 <p> |
41 <dl><dt><b>Parameters:</b></dt><dd> |
43 Converts a TDesC derived descriptor to a 'C' string. <dl compact><dt><b>Parameters:</b></dt><dd> |
|
44 <table border="0" cellspacing="2" cellpadding="0"> |
42 <table border="0" cellspacing="2" cellpadding="0"> |
45 <tr><td valign="top"></td><td valign="top"><em>aDes</em> </td><td>The descriptor to be converted. </td></tr> |
43 <tr><td valign="top"></td><td valign="top"><em>aDes</em> </td><td>The descriptor to be converted. </td></tr> |
46 </table> |
44 </table> |
|
45 </dd> |
47 </dl> |
46 </dl> |
48 <dl class="return" compact><dt><b>Returns:</b></dt><dd>A pointer to the character array that stores the converted string. </dd></dl> |
47 <dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the character array that stores the converted string. </dd></dl> |
49 |
48 |
50 <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> |
49 <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> |
51 |
50 |
52 </div> |
51 </div> |
53 </div><p> |
52 </div> |
54 <a class="anchor" name="cd930fa97b9d63260709595e22a0f881"></a><!-- doxytag: member="hybridapp.cpp::PrintDriveInfoL" ref="cd930fa97b9d63260709595e22a0f881" args="(const RFs &aFs, const TInt aDriveNumber)" --> |
53 <a class="anchor" id="acd930fa97b9d63260709595e22a0f881"></a><!-- doxytag: member="hybridapp.cpp::PrintDriveInfoL" ref="acd930fa97b9d63260709595e22a0f881" args="(const RFs &aFs, const TInt aDriveNumber)" --> |
55 <div class="memitem"> |
54 <div class="memitem"> |
56 <div class="memproto"> |
55 <div class="memproto"> |
57 <table class="memname"> |
56 <table class="memname"> |
58 <tr> |
57 <tr> |
59 <td class="memname">void PrintDriveInfoL </td> |
58 <td class="memname">void PrintDriveInfoL </td> |
60 <td>(</td> |
59 <td>(</td> |
61 <td class="paramtype">const RFs & </td> |
60 <td class="paramtype">const RFs & </td> |
62 <td class="paramname"> <em>aFs</em>, </td> |
61 <td class="paramname"> <em>aFs</em>, </td> |
63 </tr> |
62 </tr> |
64 <tr> |
63 <tr> |
68 <td class="paramname"> <em>aDriveNumber</em></td><td> </td> |
67 <td class="paramname"> <em>aDriveNumber</em></td><td> </td> |
69 </tr> |
68 </tr> |
70 <tr> |
69 <tr> |
71 <td></td> |
70 <td></td> |
72 <td>)</td> |
71 <td>)</td> |
73 <td></td><td></td><td width="100%"></td> |
72 <td></td><td></td><td></td> |
74 </tr> |
73 </tr> |
75 </table> |
74 </table> |
76 </div> |
75 </div> |
77 <div class="memdoc"> |
76 <div class="memdoc"> |
78 |
77 <p>Prints the memory information for a drive. </p> |
79 <p> |
78 <dl><dt><b>Parameters:</b></dt><dd> |
80 Prints the memory information for a drive. <dl compact><dt><b>Parameters:</b></dt><dd> |
|
81 <table border="0" cellspacing="2" cellpadding="0"> |
79 <table border="0" cellspacing="2" cellpadding="0"> |
82 <tr><td valign="top"></td><td valign="top"><em>aFs</em> </td><td>A handle to the file server session. </td></tr> |
80 <tr><td valign="top"></td><td valign="top"><em>aFs</em> </td><td>A handle to the file server session. </td></tr> |
83 <tr><td valign="top"></td><td valign="top"><em>aDriveNumber</em> </td><td>The drive number of the drive. </td></tr> |
81 <tr><td valign="top"></td><td valign="top"><em>aDriveNumber</em> </td><td>The drive number of the drive. </td></tr> |
84 </table> |
82 </table> |
|
83 </dd> |
85 </dl> |
84 </dl> |
86 |
85 |
87 <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> |
86 <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> |
88 |
87 |
89 </div> |
88 </div> |
90 </div><p> |
89 </div> |
91 <a class="anchor" name="689e0bf9aa924a1d7dc108665d44736c"></a><!-- doxytag: member="hybridapp.cpp::MainL" ref="689e0bf9aa924a1d7dc108665d44736c" args="()" --> |
90 <a class="anchor" id="a689e0bf9aa924a1d7dc108665d44736c"></a><!-- doxytag: member="hybridapp.cpp::MainL" ref="a689e0bf9aa924a1d7dc108665d44736c" args="()" --> |
92 <div class="memitem"> |
91 <div class="memitem"> |
93 <div class="memproto"> |
92 <div class="memproto"> |
94 <table class="memname"> |
93 <table class="memname"> |
95 <tr> |
94 <tr> |
96 <td class="memname">LOCAL_C void MainL </td> |
95 <td class="memname">LOCAL_C void MainL </td> |
97 <td>(</td> |
96 <td>(</td> |
98 <td class="paramname"> </td> |
97 <td class="paramname"></td> |
99 <td> ) </td> |
98 <td> ) </td> |
100 <td width="100%"></td> |
99 <td></td> |
101 </tr> |
100 </tr> |
102 </table> |
101 </table> |
103 </div> |
102 </div> |
104 <div class="memdoc"> |
103 <div class="memdoc"> |
|
104 <p>Much simpler MainL(), uses the new Rendezvous() call to sync with the client</p> |
|
105 <p>Secure variant Much simpler, uses the new Rendezvous() call to sync with the client </p> |
105 |
106 |
106 <p> |
107 <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> |
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="hybridapp_8cpp-source.html#l00123">123</a> of file <a class="el" href="hybridapp_8cpp-source.html">hybridapp.cpp</a>.</p> |
|
110 |
108 |
111 </div> |
109 </div> |
112 </div><p> |
110 </div> |
113 <a class="anchor" name="0f358e9c4355138f629b8c4f37310295"></a><!-- doxytag: member="hybridapp.cpp::E32Main" ref="0f358e9c4355138f629b8c4f37310295" args="()" --> |
111 <a class="anchor" id="a0f358e9c4355138f629b8c4f37310295"></a><!-- doxytag: member="hybridapp.cpp::E32Main" ref="a0f358e9c4355138f629b8c4f37310295" args="()" --> |
114 <div class="memitem"> |
112 <div class="memitem"> |
115 <div class="memproto"> |
113 <div class="memproto"> |
116 <table class="memname"> |
114 <table class="memname"> |
117 <tr> |
115 <tr> |
118 <td class="memname">GLDEF_C TInt E32Main </td> |
116 <td class="memname">GLDEF_C TInt E32Main </td> |
119 <td>(</td> |
117 <td>(</td> |
120 <td class="paramname"> </td> |
118 <td class="paramname"></td> |
121 <td> ) </td> |
119 <td> ) </td> |
122 <td width="100%"></td> |
120 <td></td> |
123 </tr> |
121 </tr> |
124 </table> |
122 </table> |
125 </div> |
123 </div> |
126 <div class="memdoc"> |
124 <div class="memdoc"> |
|
125 <p>Returns standard error code on exit</p> |
|
126 <p>Secure variant only Process entry point. Called by client using RProcess API </p> |
|
127 <dl class="return"><dt><b>Returns:</b></dt><dd>Standard Epoc error code on process exit</dd> |
|
128 <dd> |
|
129 Standard Epoc error code on process exit Secure variant only Process entry point. Called by client using RProcess API</dd></dl> |
|
130 <p>Entry point for the example</p> |
|
131 <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> |
|
132 <p>Standard entry point function. </p> |
127 |
133 |
128 <p> |
134 <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> |
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="hybridapp_8cpp-source.html#l00202">202</a> of file <a class="el" href="hybridapp_8cpp-source.html">hybridapp.cpp</a>.</p> |
|
137 |
135 |
138 </div> |
136 </div> |
139 </div><p> |
137 </div> |
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 |
138 </div> |
|
139 <hr size="1"/><address style="text-align: right;"><small>Generated by |
141 <a href="http://www.doxygen.org/index.html"> |
140 <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> |
141 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> |
143 </body> |
142 </body> |
144 </html> |
143 </html> |