author | Graeme Price <GRAEME.PRICE@NOKIA.COM> |
Fri, 15 Oct 2010 14:32:18 +0100 | |
changeset 15 | 307f4279f433 |
parent 6 | 43e37759235e |
permissions | -rw-r--r-- |
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
2 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
3 |
<head> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
4 |
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
5 |
<title>TB9.2 Example Applications: examples/SysLibs/SqlExample/sqlexample.cpp File Reference</title> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
6 |
<link href="tabs.css" rel="stylesheet" type="text/css"/> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
7 |
<link href="doxygen.css" rel="stylesheet" type="text/css"/> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
8 |
</head> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
9 |
<body> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
10 |
<!-- Generated by Doxygen 1.6.2 --> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
11 |
<div class="contents"> |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
12 |
<h1>examples/SysLibs/SqlExample/sqlexample.cpp File Reference</h1> |
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
13 |
<p><a href="sqlexample_8cpp_source.html">Go to the source code of this file.</a></p> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
14 |
<table border="0" cellpadding="0" cellspacing="0"> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
15 |
<tr><td colspan="2"><h2>Functions</h2></td></tr> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
16 |
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af1d0f49b16aef74fefa62b77424d36c5"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="af1d0f49b16aef74fefa62b77424d36c5" args="(KTitle,"SQL example")" --> |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
17 |
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTitle,"SQL example")</td></tr> |
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
18 |
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0ac2fb0a63f089fdce518a302f37b9d5"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="a0ac2fb0a63f089fdce518a302f37b9d5" args="(KTextPressAKey,"\n\nPress any key to step through the example\n")" --> |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
19 |
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTextPressAKey,"\n\nPress any key to step through the example\n")</td></tr> |
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
20 |
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a955581697443c31bed3184da8ff35099"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="a955581697443c31bed3184da8ff35099" args="(KExit,"Press any key to exit the application ")" --> |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
21 |
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KExit,"Press any key to exit the application ")</td></tr> |
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
22 |
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5bc2564a54db2d4e4e7b19b59a006638"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="a5bc2564a54db2d4e4e7b19b59a006638" args="(KPressAKey,"Press any key to continue \n")" --> |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
23 |
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KPressAKey,"Press any key to continue \n")</td></tr> |
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
24 |
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeb80aad055e3d273aa01a11aa1d70e12"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="aeb80aad055e3d273aa01a11aa1d70e12" args="(KNonSecure,"\nCreating a non secure database \n")" --> |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
25 |
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KNonSecure,"\nCreating a non secure database \n")</td></tr> |
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
26 |
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a22e698a7865251297a64a60569087cfd"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="a22e698a7865251297a64a60569087cfd" args="(KSecure,"\nCreating a secure database \n")" --> |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
27 |
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KSecure,"\nCreating a secure database \n")</td></tr> |
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
28 |
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac42a193d5dc20817c9c632a0ee6b7238"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="ac42a193d5dc20817c9c632a0ee6b7238" args="(KOpen,"Opening the secure database \n")" --> |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
29 |
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KOpen,"Opening the secure database \n")</td></tr> |
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
30 |
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8fcfa1b6457a549f2e84ad0772271efd"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="a8fcfa1b6457a549f2e84ad0772271efd" args="(KDelete,"Deleting the database(s)\n")" --> |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
31 |
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KDelete,"Deleting the database(s)\n")</td></tr> |
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
32 |
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2ca3c9f779bc10076646c6e36914988c"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="a2ca3c9f779bc10076646c6e36914988c" args="(KClose,"Closing the database(s)\n")" --> |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
33 |
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KClose,"Closing the database(s)\n")</td></tr> |
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
34 |
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8b3c1a72ee62d77dfcf74abfb84cea63"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="a8b3c1a72ee62d77dfcf74abfb84cea63" args="(KCopyNonSec,"\nCopying a non secure database to another non secure one \n")" --> |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
35 |
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KCopyNonSec,"\nCopying a non secure database to another non secure one \n")</td></tr> |
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
36 |
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa11d977ecaf213fed3bab9e984fcd5e8"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="aa11d977ecaf213fed3bab9e984fcd5e8" args="(KCopySecure,"\nCopying a secure database to another secure database \n")" --> |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
37 |
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KCopySecure,"\nCopying a secure database to another secure database \n")</td></tr> |
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
38 |
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a94e83af748c531655130484164982f6f"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="a94e83af748c531655130484164982f6f" args="(KAttach,"\nOpen a secure database and attach another secure database\n")" --> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
39 |
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KAttach,"\nOpen a secure database and attach another secure database\n")</td></tr> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
40 |
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aec52b6ed450faf79ed6f05abcf197ae7"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="aec52b6ed450faf79ed6f05abcf197ae7" args="(KCreateTable,"\nCreating a table\n")" --> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
41 |
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KCreateTable,"\nCreating a table\n")</td></tr> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
42 |
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaa32558a2fc26dc0b042e59fe01f1288"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="aaa32558a2fc26dc0b042e59fe01f1288" args="(KInsert,"Inserting records into the table\n")" --> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
43 |
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KInsert,"Inserting records into the table\n")</td></tr> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
44 |
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a56338faabedabd31650f8810884abe63"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="a56338faabedabd31650f8810884abe63" args="(KPrepare,"Preparing a query\n")" --> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
45 |
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KPrepare,"Preparing a query\n")</td></tr> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
46 |
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a840c3e5f82b0a46a7a0f9a4512aa5ff9"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="a840c3e5f82b0a46a7a0f9a4512aa5ff9" args="(KExecute,"Executing a query\n")" --> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
47 |
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KExecute,"Executing a query\n")</td></tr> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
48 |
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="affd06b943ebb712e4594c2d37111edc9"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="affd06b943ebb712e4594c2d37111edc9" args="(KDbName,"\\Example_db.db")" --> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
49 |
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KDbName,"\\Example_db.db")</td></tr> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
50 |
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad2791b2f989d4a018eb405044d4ddcf8"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="ad2791b2f989d4a018eb405044d4ddcf8" args="(KAnotherDbName,"\\Example_Anotherdb.db")" --> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
51 |
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KAnotherDbName,"\\Example_Anotherdb.db")</td></tr> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
52 |
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a54b2f2fc6c9f10f840dc591614620106"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="a54b2f2fc6c9f10f840dc591614620106" args="(KSecureDb1,"[E80000AF]db1.db")" --> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
53 |
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KSecureDb1,"[E80000AF]db1.db")</td></tr> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
54 |
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaaee21072a0941d7633a58f446e1d73e"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="aaaee21072a0941d7633a58f446e1d73e" args="(KSecureDb2,"[E80000AF]db2.db")" --> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
55 |
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KSecureDb2,"[E80000AF]db2.db")</td></tr> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
56 |
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab7e3ba5605476a47d4d25cae45c544f8"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="ab7e3ba5605476a47d4d25cae45c544f8" args="(KDatabase,"\\Sqlscalarfullselect.db")" --> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
57 |
</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KDatabase,"\\Sqlscalarfullselect.db")</td></tr> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
58 |
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac7d0dae6d6c914c43f81797fc7d26c37"></a><!-- doxytag: member="sqlexample.cpp::KPolicy1" ref="ac7d0dae6d6c914c43f81797fc7d26c37" args="(ECapabilityReadUserData, ECapabilityNetworkControl, ECapabilityWriteUserData)" --> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
59 |
const TSecurityPolicy </td><td class="memItemRight" valign="bottom"><b>KPolicy1</b> (ECapabilityReadUserData, ECapabilityNetworkControl, ECapabilityWriteUserData)</td></tr> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
60 |
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7014ba0f4e6eb1696afd8fbc4d0dfe1a"></a><!-- doxytag: member="sqlexample.cpp::KPolicy2" ref="a7014ba0f4e6eb1696afd8fbc4d0dfe1a" args="(ECapabilityReadUserData)" --> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
61 |
const TSecurityPolicy </td><td class="memItemRight" valign="bottom"><b>KPolicy2</b> (ECapabilityReadUserData)</td></tr> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
62 |
<tr><td class="memItemLeft" align="right" valign="top">LOCAL_C void </td><td class="memItemRight" valign="bottom"><a class="el" href="sqlexample_8cpp.html#a689e0bf9aa924a1d7dc108665d44736c">MainL</a> ()</td></tr> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
63 |
<tr><td class="memItemLeft" align="right" valign="top">GLDEF_C TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="sqlexample_8cpp.html#a0f358e9c4355138f629b8c4f37310295">E32Main</a> ()</td></tr> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
64 |
</table> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
65 |
<hr/><a name="_details"></a><h2>Detailed Description</h2> |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
66 |
|
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
67 |
<p>Definition in file <a class="el" href="sqlexample_8cpp_source.html">sqlexample.cpp</a>.</p> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
68 |
<hr/><h2>Function Documentation</h2> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
69 |
<a class="anchor" id="a689e0bf9aa924a1d7dc108665d44736c"></a><!-- doxytag: member="sqlexample.cpp::MainL" ref="a689e0bf9aa924a1d7dc108665d44736c" args="()" --> |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
70 |
<div class="memitem"> |
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
71 |
<div class="memproto"> |
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
72 |
<table class="memname"> |
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
73 |
<tr> |
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
74 |
<td class="memname">LOCAL_C void MainL </td> |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
75 |
<td>(</td> |
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
76 |
<td class="paramname"></td> |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
77 |
<td> ) </td> |
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
78 |
<td></td> |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
79 |
</tr> |
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
80 |
</table> |
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
81 |
</div> |
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
82 |
<div class="memdoc"> |
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
83 |
<p>Much simpler MainL(), uses the new Rendezvous() call to sync with the client</p> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
84 |
<p>Secure variant Much simpler, uses the new Rendezvous() call to sync with the client </p> |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
85 |
|
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
86 |
<p>Definition at line <a class="el" href="sqlexample_8cpp_source.html#l00542">542</a> of file <a class="el" href="sqlexample_8cpp_source.html">sqlexample.cpp</a>.</p> |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
87 |
|
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
88 |
</div> |
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
89 |
</div> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
90 |
<a class="anchor" id="a0f358e9c4355138f629b8c4f37310295"></a><!-- doxytag: member="sqlexample.cpp::E32Main" ref="a0f358e9c4355138f629b8c4f37310295" args="()" --> |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
91 |
<div class="memitem"> |
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
92 |
<div class="memproto"> |
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
93 |
<table class="memname"> |
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
94 |
<tr> |
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
95 |
<td class="memname">GLDEF_C TInt E32Main </td> |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
96 |
<td>(</td> |
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
97 |
<td class="paramname"></td> |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
98 |
<td> ) </td> |
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
99 |
<td></td> |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
100 |
</tr> |
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
101 |
</table> |
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
102 |
</div> |
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
103 |
<div class="memdoc"> |
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
104 |
<p>Returns standard error code on exit</p> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
105 |
<p>Secure variant only Process entry point. Called by client using RProcess API </p> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
106 |
<dl class="return"><dt><b>Returns:</b></dt><dd>Standard Epoc error code on process exit</dd> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
107 |
<dd> |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
108 |
Standard Epoc error code on process exit Secure variant only Process entry point. Called by client using RProcess API</dd></dl> |
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
109 |
<p>Entry point for the example</p> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
110 |
<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> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
111 |
<p>Standard entry point function.</p> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
112 |
<p>A normal Symbian OS executable provides an E32Main() function which is called by the operating system to start the program. </p> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
113 |
|
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
114 |
<p>Definition at line <a class="el" href="sqlexample_8cpp_source.html#l00577">577</a> of file <a class="el" href="sqlexample_8cpp_source.html">sqlexample.cpp</a>.</p> |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
115 |
|
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
116 |
</div> |
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
117 |
</div> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
118 |
</div> |
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
119 |
<hr size="1"/><address style="text-align: right;"><small>Generated by |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
120 |
<a href="http://www.doxygen.org/index.html"> |
6
43e37759235e
Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
1
diff
changeset
|
121 |
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> |
1
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
122 |
</body> |
25a17d01db0c
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff
changeset
|
123 |
</html> |