Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/sqlexample_8cpp.html
changeset 6 43e37759235e
parent 1 25a17d01db0c
equal deleted inserted replaced
5:f345bda72bc4 6:43e37759235e
     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/SysLibs/SqlExample/sqlexample.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/SysLibs/SqlExample/sqlexample.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/SysLibs/SqlExample/sqlexample.cpp File Reference</h1>
    12 <h1>examples/SysLibs/SqlExample/sqlexample.cpp File Reference</h1>
     9 <p>
    13 <p><a href="sqlexample_8cpp_source.html">Go to the source code of this file.</a></p>
    10 <a href="sqlexample_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"><a class="anchor" id="af1d0f49b16aef74fefa62b77424d36c5"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="af1d0f49b16aef74fefa62b77424d36c5" args="(KTitle,&quot;SQL example&quot;)" -->
    13 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f1d0f49b16aef74fefa62b77424d36c5"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="f1d0f49b16aef74fefa62b77424d36c5" args="(KTitle,&quot;SQL example&quot;)" -->
       
    14 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTitle,&quot;SQL example&quot;)</td></tr>
    17 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTitle,&quot;SQL example&quot;)</td></tr>
       
    18 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0ac2fb0a63f089fdce518a302f37b9d5"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="a0ac2fb0a63f089fdce518a302f37b9d5" args="(KTextPressAKey,&quot;\n\nPress any key to step through the example\n&quot;)" -->
       
    19 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTextPressAKey,&quot;\n\nPress any key to step through the example\n&quot;)</td></tr>
       
    20 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a955581697443c31bed3184da8ff35099"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="a955581697443c31bed3184da8ff35099" args="(KExit,&quot;Press any key to exit the application &quot;)" -->
       
    21 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KExit,&quot;Press any key to exit the application &quot;)</td></tr>
       
    22 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5bc2564a54db2d4e4e7b19b59a006638"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="a5bc2564a54db2d4e4e7b19b59a006638" args="(KPressAKey,&quot;Press any key to continue \n&quot;)" -->
       
    23 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KPressAKey,&quot;Press any key to continue \n&quot;)</td></tr>
       
    24 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeb80aad055e3d273aa01a11aa1d70e12"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="aeb80aad055e3d273aa01a11aa1d70e12" args="(KNonSecure,&quot;\nCreating a non secure database \n&quot;)" -->
       
    25 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KNonSecure,&quot;\nCreating a non secure database \n&quot;)</td></tr>
       
    26 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a22e698a7865251297a64a60569087cfd"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="a22e698a7865251297a64a60569087cfd" args="(KSecure,&quot;\nCreating a secure database \n&quot;)" -->
       
    27 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KSecure,&quot;\nCreating a secure database \n&quot;)</td></tr>
       
    28 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac42a193d5dc20817c9c632a0ee6b7238"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="ac42a193d5dc20817c9c632a0ee6b7238" args="(KOpen,&quot;Opening  the secure database \n&quot;)" -->
       
    29 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KOpen,&quot;Opening  the secure database \n&quot;)</td></tr>
       
    30 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8fcfa1b6457a549f2e84ad0772271efd"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="a8fcfa1b6457a549f2e84ad0772271efd" args="(KDelete,&quot;Deleting the database(s)\n&quot;)" -->
       
    31 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KDelete,&quot;Deleting the database(s)\n&quot;)</td></tr>
       
    32 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2ca3c9f779bc10076646c6e36914988c"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="a2ca3c9f779bc10076646c6e36914988c" args="(KClose,&quot;Closing the database(s)\n&quot;)" -->
       
    33 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KClose,&quot;Closing the database(s)\n&quot;)</td></tr>
       
    34 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8b3c1a72ee62d77dfcf74abfb84cea63"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="a8b3c1a72ee62d77dfcf74abfb84cea63" args="(KCopyNonSec,&quot;\nCopying a non secure database to another non secure one \n&quot;)" -->
       
    35 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KCopyNonSec,&quot;\nCopying a non secure database to another non secure one \n&quot;)</td></tr>
       
    36 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa11d977ecaf213fed3bab9e984fcd5e8"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="aa11d977ecaf213fed3bab9e984fcd5e8" args="(KCopySecure,&quot;\nCopying a secure database to another secure database \n&quot;)" -->
       
    37 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KCopySecure,&quot;\nCopying a secure database to another secure database \n&quot;)</td></tr>
       
    38 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a94e83af748c531655130484164982f6f"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="a94e83af748c531655130484164982f6f" args="(KAttach,&quot;\nOpen a secure database and attach another secure database\n&quot;)" -->
       
    39 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KAttach,&quot;\nOpen a secure database and attach another secure database\n&quot;)</td></tr>
       
    40 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aec52b6ed450faf79ed6f05abcf197ae7"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="aec52b6ed450faf79ed6f05abcf197ae7" args="(KCreateTable,&quot;\nCreating a table\n&quot;)" -->
       
    41 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KCreateTable,&quot;\nCreating a table\n&quot;)</td></tr>
       
    42 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaa32558a2fc26dc0b042e59fe01f1288"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="aaa32558a2fc26dc0b042e59fe01f1288" args="(KInsert,&quot;Inserting records into the table\n&quot;)" -->
       
    43 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KInsert,&quot;Inserting records into the table\n&quot;)</td></tr>
       
    44 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a56338faabedabd31650f8810884abe63"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="a56338faabedabd31650f8810884abe63" args="(KPrepare,&quot;Preparing a query\n&quot;)" -->
       
    45 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KPrepare,&quot;Preparing a query\n&quot;)</td></tr>
       
    46 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a840c3e5f82b0a46a7a0f9a4512aa5ff9"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="a840c3e5f82b0a46a7a0f9a4512aa5ff9" args="(KExecute,&quot;Executing a query\n&quot;)" -->
       
    47 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KExecute,&quot;Executing a query\n&quot;)</td></tr>
       
    48 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="affd06b943ebb712e4594c2d37111edc9"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="affd06b943ebb712e4594c2d37111edc9" args="(KDbName,&quot;\\Example_db.db&quot;)" -->
       
    49 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KDbName,&quot;\\Example_db.db&quot;)</td></tr>
       
    50 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad2791b2f989d4a018eb405044d4ddcf8"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="ad2791b2f989d4a018eb405044d4ddcf8" args="(KAnotherDbName,&quot;\\Example_Anotherdb.db&quot;)" -->
       
    51 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KAnotherDbName,&quot;\\Example_Anotherdb.db&quot;)</td></tr>
       
    52 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a54b2f2fc6c9f10f840dc591614620106"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="a54b2f2fc6c9f10f840dc591614620106" args="(KSecureDb1,&quot;[E80000AF]db1.db&quot;)" -->
       
    53 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KSecureDb1,&quot;[E80000AF]db1.db&quot;)</td></tr>
       
    54 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaaee21072a0941d7633a58f446e1d73e"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="aaaee21072a0941d7633a58f446e1d73e" args="(KSecureDb2,&quot;[E80000AF]db2.db&quot;)" -->
       
    55 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KSecureDb2,&quot;[E80000AF]db2.db&quot;)</td></tr>
       
    56 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab7e3ba5605476a47d4d25cae45c544f8"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="ab7e3ba5605476a47d4d25cae45c544f8" args="(KDatabase,&quot;\\Sqlscalarfullselect.db&quot;)" -->
       
    57 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KDatabase,&quot;\\Sqlscalarfullselect.db&quot;)</td></tr>
       
    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)" -->
       
    59 const TSecurityPolicy&nbsp;</td><td class="memItemRight" valign="bottom"><b>KPolicy1</b> (ECapabilityReadUserData, ECapabilityNetworkControl, ECapabilityWriteUserData)</td></tr>
       
    60 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7014ba0f4e6eb1696afd8fbc4d0dfe1a"></a><!-- doxytag: member="sqlexample.cpp::KPolicy2" ref="a7014ba0f4e6eb1696afd8fbc4d0dfe1a" args="(ECapabilityReadUserData)" -->
       
    61 const TSecurityPolicy&nbsp;</td><td class="memItemRight" valign="bottom"><b>KPolicy2</b> (ECapabilityReadUserData)</td></tr>
       
    62 <tr><td class="memItemLeft" align="right" valign="top">LOCAL_C void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sqlexample_8cpp.html#a689e0bf9aa924a1d7dc108665d44736c">MainL</a> ()</td></tr>
       
    63 <tr><td class="memItemLeft" align="right" valign="top">GLDEF_C TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sqlexample_8cpp.html#a0f358e9c4355138f629b8c4f37310295">E32Main</a> ()</td></tr>
       
    64 </table>
       
    65 <hr/><a name="_details"></a><h2>Detailed Description</h2>
    15 
    66 
    16 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0ac2fb0a63f089fdce518a302f37b9d5"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="0ac2fb0a63f089fdce518a302f37b9d5" args="(KTextPressAKey,&quot;\n\nPress any key to step through the example\n&quot;)" -->
    67 <p>Definition in file <a class="el" href="sqlexample_8cpp_source.html">sqlexample.cpp</a>.</p>
    17 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTextPressAKey,&quot;\n\nPress any key to step through the example\n&quot;)</td></tr>
    68 <hr/><h2>Function Documentation</h2>
    18 
    69 <a class="anchor" id="a689e0bf9aa924a1d7dc108665d44736c"></a><!-- doxytag: member="sqlexample.cpp::MainL" ref="a689e0bf9aa924a1d7dc108665d44736c" args="()" -->
    19 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="955581697443c31bed3184da8ff35099"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="955581697443c31bed3184da8ff35099" args="(KExit,&quot;Press any key to exit the application &quot;)" -->
       
    20 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KExit,&quot;Press any key to exit the application &quot;)</td></tr>
       
    21 
       
    22 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5bc2564a54db2d4e4e7b19b59a006638"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="5bc2564a54db2d4e4e7b19b59a006638" args="(KPressAKey,&quot;Press any key to continue \n&quot;)" -->
       
    23 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KPressAKey,&quot;Press any key to continue \n&quot;)</td></tr>
       
    24 
       
    25 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eb80aad055e3d273aa01a11aa1d70e12"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="eb80aad055e3d273aa01a11aa1d70e12" args="(KNonSecure,&quot;\nCreating a non secure database \n&quot;)" -->
       
    26 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KNonSecure,&quot;\nCreating a non secure database \n&quot;)</td></tr>
       
    27 
       
    28 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="22e698a7865251297a64a60569087cfd"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="22e698a7865251297a64a60569087cfd" args="(KSecure,&quot;\nCreating a secure database \n&quot;)" -->
       
    29 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KSecure,&quot;\nCreating a secure database \n&quot;)</td></tr>
       
    30 
       
    31 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c42a193d5dc20817c9c632a0ee6b7238"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="c42a193d5dc20817c9c632a0ee6b7238" args="(KOpen,&quot;Opening  the secure database \n&quot;)" -->
       
    32 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KOpen,&quot;Opening  the secure database \n&quot;)</td></tr>
       
    33 
       
    34 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8fcfa1b6457a549f2e84ad0772271efd"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="8fcfa1b6457a549f2e84ad0772271efd" args="(KDelete,&quot;Deleting the database(s)\n&quot;)" -->
       
    35 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KDelete,&quot;Deleting the database(s)\n&quot;)</td></tr>
       
    36 
       
    37 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2ca3c9f779bc10076646c6e36914988c"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="2ca3c9f779bc10076646c6e36914988c" args="(KClose,&quot;Closing the database(s)\n&quot;)" -->
       
    38 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KClose,&quot;Closing the database(s)\n&quot;)</td></tr>
       
    39 
       
    40 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8b3c1a72ee62d77dfcf74abfb84cea63"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="8b3c1a72ee62d77dfcf74abfb84cea63" args="(KCopyNonSec,&quot;\nCopying a non secure database to another non secure one \n&quot;)" -->
       
    41 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KCopyNonSec,&quot;\nCopying a non secure database to another non secure one \n&quot;)</td></tr>
       
    42 
       
    43 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a11d977ecaf213fed3bab9e984fcd5e8"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="a11d977ecaf213fed3bab9e984fcd5e8" args="(KCopySecure,&quot;\nCopying a secure database to another secure database \n&quot;)" -->
       
    44 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KCopySecure,&quot;\nCopying a secure database to another secure database \n&quot;)</td></tr>
       
    45 
       
    46 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="94e83af748c531655130484164982f6f"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="94e83af748c531655130484164982f6f" args="(KAttach,&quot;\nOpen a secure database and attach another secure database\n&quot;)" -->
       
    47 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KAttach,&quot;\nOpen a secure database and attach another secure database\n&quot;)</td></tr>
       
    48 
       
    49 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ec52b6ed450faf79ed6f05abcf197ae7"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="ec52b6ed450faf79ed6f05abcf197ae7" args="(KCreateTable,&quot;\nCreating a table\n&quot;)" -->
       
    50 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KCreateTable,&quot;\nCreating a table\n&quot;)</td></tr>
       
    51 
       
    52 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aa32558a2fc26dc0b042e59fe01f1288"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="aa32558a2fc26dc0b042e59fe01f1288" args="(KInsert,&quot;Inserting records into the table\n&quot;)" -->
       
    53 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KInsert,&quot;Inserting records into the table\n&quot;)</td></tr>
       
    54 
       
    55 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="56338faabedabd31650f8810884abe63"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="56338faabedabd31650f8810884abe63" args="(KPrepare,&quot;Preparing a query\n&quot;)" -->
       
    56 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KPrepare,&quot;Preparing a query\n&quot;)</td></tr>
       
    57 
       
    58 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="840c3e5f82b0a46a7a0f9a4512aa5ff9"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="840c3e5f82b0a46a7a0f9a4512aa5ff9" args="(KExecute,&quot;Executing a query\n&quot;)" -->
       
    59 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KExecute,&quot;Executing a query\n&quot;)</td></tr>
       
    60 
       
    61 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ffd06b943ebb712e4594c2d37111edc9"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="ffd06b943ebb712e4594c2d37111edc9" args="(KDbName,&quot;\\Example_db.db&quot;)" -->
       
    62 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KDbName,&quot;\\Example_db.db&quot;)</td></tr>
       
    63 
       
    64 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d2791b2f989d4a018eb405044d4ddcf8"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="d2791b2f989d4a018eb405044d4ddcf8" args="(KAnotherDbName,&quot;\\Example_Anotherdb.db&quot;)" -->
       
    65 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KAnotherDbName,&quot;\\Example_Anotherdb.db&quot;)</td></tr>
       
    66 
       
    67 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="54b2f2fc6c9f10f840dc591614620106"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="54b2f2fc6c9f10f840dc591614620106" args="(KSecureDb1,&quot;[E80000AF]db1.db&quot;)" -->
       
    68 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KSecureDb1,&quot;[E80000AF]db1.db&quot;)</td></tr>
       
    69 
       
    70 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aaee21072a0941d7633a58f446e1d73e"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="aaee21072a0941d7633a58f446e1d73e" args="(KSecureDb2,&quot;[E80000AF]db2.db&quot;)" -->
       
    71 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KSecureDb2,&quot;[E80000AF]db2.db&quot;)</td></tr>
       
    72 
       
    73 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b7e3ba5605476a47d4d25cae45c544f8"></a><!-- doxytag: member="sqlexample.cpp::_LIT" ref="b7e3ba5605476a47d4d25cae45c544f8" args="(KDatabase,&quot;\\Sqlscalarfullselect.db&quot;)" -->
       
    74 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KDatabase,&quot;\\Sqlscalarfullselect.db&quot;)</td></tr>
       
    75 
       
    76 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c7d0dae6d6c914c43f81797fc7d26c37"></a><!-- doxytag: member="sqlexample.cpp::KPolicy1" ref="c7d0dae6d6c914c43f81797fc7d26c37" args="(ECapabilityReadUserData, ECapabilityNetworkControl, ECapabilityWriteUserData)" -->
       
    77 const TSecurityPolicy&nbsp;</td><td class="memItemRight" valign="bottom"><b>KPolicy1</b> (ECapabilityReadUserData, ECapabilityNetworkControl, ECapabilityWriteUserData)</td></tr>
       
    78 
       
    79 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7014ba0f4e6eb1696afd8fbc4d0dfe1a"></a><!-- doxytag: member="sqlexample.cpp::KPolicy2" ref="7014ba0f4e6eb1696afd8fbc4d0dfe1a" args="(ECapabilityReadUserData)" -->
       
    80 const TSecurityPolicy&nbsp;</td><td class="memItemRight" valign="bottom"><b>KPolicy2</b> (ECapabilityReadUserData)</td></tr>
       
    81 
       
    82 <tr><td class="memItemLeft" nowrap align="right" valign="top">LOCAL_C void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sqlexample_8cpp.html#689e0bf9aa924a1d7dc108665d44736c">MainL</a> ()</td></tr>
       
    83 
       
    84 <tr><td class="memItemLeft" nowrap align="right" valign="top">GLDEF_C TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sqlexample_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="sqlexample_8cpp-source.html">sqlexample.cpp</a>.</p>
       
    90 <hr><h2>Function Documentation</h2>
       
    91 <a class="anchor" name="689e0bf9aa924a1d7dc108665d44736c"></a><!-- doxytag: member="sqlexample.cpp::MainL" ref="689e0bf9aa924a1d7dc108665d44736c" args="()" -->
       
    92 <div class="memitem">
    70 <div class="memitem">
    93 <div class="memproto">
    71 <div class="memproto">
    94       <table class="memname">
    72       <table class="memname">
    95         <tr>
    73         <tr>
    96           <td class="memname">LOCAL_C void MainL           </td>
    74           <td class="memname">LOCAL_C void MainL </td>
    97           <td>(</td>
    75           <td>(</td>
    98           <td class="paramname">          </td>
    76           <td class="paramname"></td>
    99           <td>&nbsp;)&nbsp;</td>
    77           <td>&nbsp;)&nbsp;</td>
   100           <td width="100%"></td>
    78           <td></td>
   101         </tr>
    79         </tr>
   102       </table>
    80       </table>
   103 </div>
    81 </div>
   104 <div class="memdoc">
    82 <div class="memdoc">
       
    83 <p>Much simpler MainL(), uses the new Rendezvous() call to sync with the client</p>
       
    84 <p>Secure variant Much simpler, uses the new Rendezvous() call to sync with the client </p>
   105 
    85 
   106 <p>
    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>
   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="sqlexample_8cpp-source.html#l00542">542</a> of file <a class="el" href="sqlexample_8cpp-source.html">sqlexample.cpp</a>.</p>
       
   110 
    87 
   111 </div>
    88 </div>
   112 </div><p>
    89 </div>
   113 <a class="anchor" name="0f358e9c4355138f629b8c4f37310295"></a><!-- doxytag: member="sqlexample.cpp::E32Main" ref="0f358e9c4355138f629b8c4f37310295" args="()" -->
    90 <a class="anchor" id="a0f358e9c4355138f629b8c4f37310295"></a><!-- doxytag: member="sqlexample.cpp::E32Main" ref="a0f358e9c4355138f629b8c4f37310295" args="()" -->
   114 <div class="memitem">
    91 <div class="memitem">
   115 <div class="memproto">
    92 <div class="memproto">
   116       <table class="memname">
    93       <table class="memname">
   117         <tr>
    94         <tr>
   118           <td class="memname">GLDEF_C TInt E32Main           </td>
    95           <td class="memname">GLDEF_C TInt E32Main </td>
   119           <td>(</td>
    96           <td>(</td>
   120           <td class="paramname">          </td>
    97           <td class="paramname"></td>
   121           <td>&nbsp;)&nbsp;</td>
    98           <td>&nbsp;)&nbsp;</td>
   122           <td width="100%"></td>
    99           <td></td>
   123         </tr>
   100         </tr>
   124       </table>
   101       </table>
   125 </div>
   102 </div>
   126 <div class="memdoc">
   103 <div class="memdoc">
       
   104 <p>Returns standard error code on exit</p>
       
   105 <p>Secure variant only Process entry point. Called by client using RProcess API </p>
       
   106 <dl class="return"><dt><b>Returns:</b></dt><dd>Standard Epoc error code on process exit</dd>
       
   107 <dd>
       
   108 Standard Epoc error code on process exit Secure variant only Process entry point. Called by client using RProcess API</dd></dl>
       
   109 <p>Entry point for the example</p>
       
   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>
       
   111 <p>Standard entry point function.</p>
       
   112 <p>A normal Symbian OS executable provides an E32Main() function which is called by the operating system to start the program. </p>
   127 
   113 
   128 <p>
   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>
   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="sqlexample_8cpp-source.html#l00577">577</a> of file <a class="el" href="sqlexample_8cpp-source.html">sqlexample.cpp</a>.</p>
       
   137 
   115 
   138 </div>
   116 </div>
   139 </div><p>
   117 </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&nbsp;
   118 </div>
       
   119 <hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
   141 <a href="http://www.doxygen.org/index.html">
   120 <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>
   121 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
   143 </body>
   122 </body>
   144 </html>
   123 </html>