Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/centrepexample_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/CentRepExample/centrepexample.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/CentRepExample/centrepexample.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/CentRepExample/centrepexample.cpp File Reference</h1>
    12 <h1>examples/SysLibs/CentRepExample/centrepexample.cpp File Reference</h1>
     9 <p>
    13 <p><a href="centrepexample_8cpp_source.html">Go to the source code of this file.</a></p>
    10 <a href="centrepexample_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="acffbf43bbe111f4f3669658ce5d7a4dd"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="acffbf43bbe111f4f3669658ce5d7a4dd" args="(KTitle,&quot;Central repository example&quot;)" -->
    13 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cffbf43bbe111f4f3669658ce5d7a4dd"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="cffbf43bbe111f4f3669658ce5d7a4dd" args="(KTitle,&quot;Central repository example&quot;)" -->
       
    14 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTitle,&quot;Central repository example&quot;)</td></tr>
    17 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTitle,&quot;Central repository example&quot;)</td></tr>
       
    18 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1bc8a0562f6a9402175902a473e0b4f0"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a1bc8a0562f6a9402175902a473e0b4f0" args="(KTextPressAKey,&quot;\n\nPress any key to step through the example&quot;)" -->
       
    19 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTextPressAKey,&quot;\n\nPress any key to step through the example&quot;)</td></tr>
       
    20 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a55275423706c7625ff69bfab9ed0109c"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a55275423706c7625ff69bfab9ed0109c" args="(KExit,&quot;\nPress any key to exit the application &quot;)" -->
       
    21 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KExit,&quot;\nPress any key to exit the application &quot;)</td></tr>
       
    22 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abe7269e632d6878521fc75373ae7869e"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="abe7269e632d6878521fc75373ae7869e" args="(KPressAKey,&quot;\nPress any key to continue \n&quot;)" -->
       
    23 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KPressAKey,&quot;\nPress any key to continue \n&quot;)</td></tr>
       
    24 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a27a380f23a1b8c717058ac1d9d039927"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a27a380f23a1b8c717058ac1d9d039927" args="(KErr,&quot;\nThe repository file has not been set up. Please see the instructions in centrepexample.cpp for how to do this&quot;)" -->
       
    25 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KErr,&quot;\nThe repository file has not been set up. Please see the instructions in centrepexample.cpp <a class="el" href="interfacefor.html">for</a> how to do this&quot;)</td></tr>
       
    26 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a369df0f107e442f948a1b7bedd8b9379"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a369df0f107e442f948a1b7bedd8b9379" args="(KOpen,&quot;\n\nOpening the repository and displaying some initial settings&quot;)" -->
       
    27 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KOpen,&quot;\n\nOpening the repository and displaying some initial settings&quot;)</td></tr>
       
    28 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a65a8a4bf6776ab76f4b177eff0d0f04f"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a65a8a4bf6776ab76f4b177eff0d0f04f" args="(KChangeSet,&quot;\nChanging some settings in the repository&quot;)" -->
       
    29 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KChangeSet,&quot;\nChanging some settings in the repository&quot;)</td></tr>
       
    30 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3a1ba0ac4b36d6b6eff1689d427c48e6"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a3a1ba0ac4b36d6b6eff1689d427c48e6" args="(KReadSet,&quot;\nReading the changed settings&quot;)" -->
       
    31 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KReadSet,&quot;\nReading the changed settings&quot;)</td></tr>
       
    32 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a97d17b7f39d092596de80df2d8a1b084"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a97d17b7f39d092596de80df2d8a1b084" args="(KTransact,&quot;\n\nPerforming read and write transactions&quot;)" -->
       
    33 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTransact,&quot;\n\nPerforming read and write transactions&quot;)</td></tr>
       
    34 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2133f47241ab715517c3c873b4a7d472"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a2133f47241ab715517c3c873b4a7d472" args="(KDelete,&quot;\n\nCreating integer and real number settings and deleting them&quot;)" -->
       
    35 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KDelete,&quot;\n\nCreating integer and real number settings and deleting them&quot;)</td></tr>
       
    36 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad77116706d836af732e8949af2488d31"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="ad77116706d836af732e8949af2488d31" args="(KMove,&quot;\n\nMoving the key to target position&quot;)" -->
       
    37 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KMove,&quot;\n\nMoving the key to target position&quot;)</td></tr>
       
    38 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a48cbaa988528b5a0e136cc0447a29533"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a48cbaa988528b5a0e136cc0447a29533" args="(KReset,&quot;\nResetting settings to default values, and getting notifications that the changes have occurred&quot;)" -->
       
    39 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KReset,&quot;\nResetting settings to default values, and getting notifications that the changes have occurred&quot;)</td></tr>
       
    40 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad8f03539144b46fd07b7e8981a5fae56"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="ad8f03539144b46fd07b7e8981a5fae56" args="(KFind,&quot;\nFinding settings for simple and structured data&quot;)" -->
       
    41 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KFind,&quot;\nFinding settings <a class="el" href="interfacefor.html">for</a> simple and structured data&quot;)</td></tr>
       
    42 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af8e1df87687281050a2106702481cace"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="af8e1df87687281050a2106702481cace" args="(KNonExisting,&quot;\n\nValue of new setting is %d&quot;)" -->
       
    43 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KNonExisting,&quot;\n\nValue of new setting is %d&quot;)</td></tr>
       
    44 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a91097917bddef93fe2e7830c02fcab48"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a91097917bddef93fe2e7830c02fcab48" args="(KInt,&quot;\nValue of setting with key x01 is %d&quot;)" -->
       
    45 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KInt,&quot;\nValue of setting with key x01 is %d&quot;)</td></tr>
       
    46 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeb756f5af91efc38b83efebc64190373"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="aeb756f5af91efc38b83efebc64190373" args="(KReal,&quot;\nValue of setting with key x02 is %f&quot;)" -->
       
    47 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KReal,&quot;\nValue of setting with key x02 is %f&quot;)</td></tr>
       
    48 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0453984ddd9716ef0643da0a42d70548"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a0453984ddd9716ef0643da0a42d70548" args="(KInteg,&quot;\nValue of setting with key x06 is %d \n&quot;)" -->
       
    49 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KInteg,&quot;\nValue of setting with key x06 is %d \n&quot;)</td></tr>
       
    50 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a100720fb0dc586e3048f2636e5474bb1"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a100720fb0dc586e3048f2636e5474bb1" args="(KIntBefore,&quot;\nValue of setting with key x01 before reset is %d&quot;)" -->
       
    51 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KIntBefore,&quot;\nValue of setting with key x01 before reset is %d&quot;)</td></tr>
       
    52 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a859d0a5996ef0d1cc2801630bf18fc9f"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a859d0a5996ef0d1cc2801630bf18fc9f" args="(KIntAfter,&quot;\nValue of setting with key x01 after reset is %d&quot;)" -->
       
    53 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KIntAfter,&quot;\nValue of setting with key x01 after reset is %d&quot;)</td></tr>
       
    54 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad200bbbc8e51052b461c8785e0be8b29"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="ad200bbbc8e51052b461c8785e0be8b29" args="(KIdsFound,&quot;\nFound %d settings&quot;)" -->
       
    55 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KIdsFound,&quot;\nFound %d settings&quot;)</td></tr>
       
    56 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a95052892ae146e109f2146df8f33e25e"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a95052892ae146e109f2146df8f33e25e" args="(KStringName,&quot;Another string&quot;)" -->
       
    57 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KStringName,&quot;Another string&quot;)</td></tr>
       
    58 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4911d2649328fe41e8db35cbe9c12b35"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a4911d2649328fe41e8db35cbe9c12b35" args="(KString1_UpdatedValue,&quot;Value of setting with key x05 is %s&quot;)" -->
       
    59 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KString1_UpdatedValue,&quot;Value of setting with key x05 is %s&quot;)</td></tr>
       
    60 <tr><td class="memItemLeft" align="right" valign="top">LOCAL_C void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="centrepexample_8cpp.html#a689e0bf9aa924a1d7dc108665d44736c">MainL</a> ()</td></tr>
       
    61 <tr><td class="memItemLeft" align="right" valign="top">GLDEF_C TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="centrepexample_8cpp.html#a0f358e9c4355138f629b8c4f37310295">E32Main</a> ()</td></tr>
       
    62 <tr><td colspan="2"><h2>Variables</h2></td></tr>
       
    63 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a841be22d434bc6f5e7cde00b629124ba"></a><!-- doxytag: member="centrepexample.cpp::KNonExistentSetting" ref="a841be22d434bc6f5e7cde00b629124ba" args="" -->
       
    64 const TUint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>KNonExistentSetting</b> = 0x10</td></tr>
       
    65 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab51e13a40abcd0929cdb185e3420131b"></a><!-- doxytag: member="centrepexample.cpp::KInt1" ref="ab51e13a40abcd0929cdb185e3420131b" args="" -->
       
    66 const TUint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>KInt1</b> = 0x01</td></tr>
       
    67 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8c89e8423be52fd1bc368cf5543196e9"></a><!-- doxytag: member="centrepexample.cpp::KInt3" ref="a8c89e8423be52fd1bc368cf5543196e9" args="" -->
       
    68 const TUint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>KInt3</b> = 0x06</td></tr>
       
    69 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab5338c35514ac188dafdba0e9083fa14"></a><!-- doxytag: member="centrepexample.cpp::KReal1" ref="ab5338c35514ac188dafdba0e9083fa14" args="" -->
       
    70 const TUint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>KReal1</b> = 0x02</td></tr>
       
    71 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9cac7b725e3b7db4f0996569491a8754"></a><!-- doxytag: member="centrepexample.cpp::KString1" ref="a9cac7b725e3b7db4f0996569491a8754" args="" -->
       
    72 const TUint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>KString1</b> = 0x05</td></tr>
       
    73 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a26522c5a6e5b261136ca16173dc58921"></a><!-- doxytag: member="centrepexample.cpp::KInt1_InitialValue" ref="a26522c5a6e5b261136ca16173dc58921" args="" -->
       
    74 const TInt&nbsp;</td><td class="memItemRight" valign="bottom"><b>KInt1_InitialValue</b> = 1</td></tr>
       
    75 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a72c6ed80162c86177f369a50d3015a47"></a><!-- doxytag: member="centrepexample.cpp::KInt1_UpdatedValue" ref="a72c6ed80162c86177f369a50d3015a47" args="" -->
       
    76 const TInt&nbsp;</td><td class="memItemRight" valign="bottom"><b>KInt1_UpdatedValue</b> = 73</td></tr>
       
    77 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6283fcdef4584a1fdfc129c9588fccaf"></a><!-- doxytag: member="centrepexample.cpp::KReal1_InitialValue" ref="a6283fcdef4584a1fdfc129c9588fccaf" args="" -->
       
    78 const TReal&nbsp;</td><td class="memItemRight" valign="bottom"><b>KReal1_InitialValue</b> = 14.91</td></tr>
       
    79 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad2a0ec821823376147d2f52e9668cdf2"></a><!-- doxytag: member="centrepexample.cpp::KReal1_UpdatedValue" ref="ad2a0ec821823376147d2f52e9668cdf2" args="" -->
       
    80 const TReal&nbsp;</td><td class="memItemRight" valign="bottom"><b>KReal1_UpdatedValue</b> = 72.8</td></tr>
       
    81 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf75a270116ff145ce1037613fbc2465"></a><!-- doxytag: member="centrepexample.cpp::KMoveTarget" ref="aaf75a270116ff145ce1037613fbc2465" args="" -->
       
    82 const TUint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>KMoveTarget</b> = 0x30</td></tr>
       
    83 </table>
       
    84 <hr/><a name="_details"></a><h2>Detailed Description</h2>
    15 
    85 
    16 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1bc8a0562f6a9402175902a473e0b4f0"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="1bc8a0562f6a9402175902a473e0b4f0" args="(KTextPressAKey,&quot;\n\nPress any key to step through the example&quot;)" -->
    86 <p>Definition in file <a class="el" href="centrepexample_8cpp_source.html">centrepexample.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&quot;)</td></tr>
    87 <hr/><h2>Function Documentation</h2>
    18 
    88 <a class="anchor" id="a689e0bf9aa924a1d7dc108665d44736c"></a><!-- doxytag: member="centrepexample.cpp::MainL" ref="a689e0bf9aa924a1d7dc108665d44736c" args="()" -->
    19 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="55275423706c7625ff69bfab9ed0109c"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="55275423706c7625ff69bfab9ed0109c" args="(KExit,&quot;\nPress any key to exit the application &quot;)" -->
       
    20 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KExit,&quot;\nPress any key to exit the application &quot;)</td></tr>
       
    21 
       
    22 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="be7269e632d6878521fc75373ae7869e"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="be7269e632d6878521fc75373ae7869e" args="(KPressAKey,&quot;\nPress any key to continue \n&quot;)" -->
       
    23 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KPressAKey,&quot;\nPress any key to continue \n&quot;)</td></tr>
       
    24 
       
    25 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="27a380f23a1b8c717058ac1d9d039927"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="27a380f23a1b8c717058ac1d9d039927" args="(KErr,&quot;\nThe repository file has not been set up. Please see the instructions in centrepexample.cpp for how to do this&quot;)" -->
       
    26 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KErr,&quot;\nThe repository file has not been set up. Please see the instructions in centrepexample.cpp for how to do this&quot;)</td></tr>
       
    27 
       
    28 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="369df0f107e442f948a1b7bedd8b9379"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="369df0f107e442f948a1b7bedd8b9379" args="(KOpen,&quot;\n\nOpening the repository and displaying some initial settings&quot;)" -->
       
    29 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KOpen,&quot;\n\nOpening the repository and displaying some initial settings&quot;)</td></tr>
       
    30 
       
    31 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="65a8a4bf6776ab76f4b177eff0d0f04f"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="65a8a4bf6776ab76f4b177eff0d0f04f" args="(KChangeSet,&quot;\nChanging some settings in the repository&quot;)" -->
       
    32 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KChangeSet,&quot;\nChanging some settings in the repository&quot;)</td></tr>
       
    33 
       
    34 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3a1ba0ac4b36d6b6eff1689d427c48e6"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="3a1ba0ac4b36d6b6eff1689d427c48e6" args="(KReadSet,&quot;\nReading the changed settings&quot;)" -->
       
    35 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KReadSet,&quot;\nReading the changed settings&quot;)</td></tr>
       
    36 
       
    37 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="97d17b7f39d092596de80df2d8a1b084"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="97d17b7f39d092596de80df2d8a1b084" args="(KTransact,&quot;\n\nPerforming read and write transactions&quot;)" -->
       
    38 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTransact,&quot;\n\nPerforming read and write transactions&quot;)</td></tr>
       
    39 
       
    40 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2133f47241ab715517c3c873b4a7d472"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="2133f47241ab715517c3c873b4a7d472" args="(KDelete,&quot;\n\nCreating integer and real number settings and deleting them&quot;)" -->
       
    41 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KDelete,&quot;\n\nCreating integer and real number settings and deleting them&quot;)</td></tr>
       
    42 
       
    43 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d77116706d836af732e8949af2488d31"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="d77116706d836af732e8949af2488d31" args="(KMove,&quot;\n\nMoving the key to target position&quot;)" -->
       
    44 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KMove,&quot;\n\nMoving the key to target position&quot;)</td></tr>
       
    45 
       
    46 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="48cbaa988528b5a0e136cc0447a29533"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="48cbaa988528b5a0e136cc0447a29533" args="(KReset,&quot;\nResetting settings to default values, and getting notifications that the changes have occurred&quot;)" -->
       
    47 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KReset,&quot;\nResetting settings to default values, and getting notifications that the changes have occurred&quot;)</td></tr>
       
    48 
       
    49 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d8f03539144b46fd07b7e8981a5fae56"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="d8f03539144b46fd07b7e8981a5fae56" args="(KFind,&quot;\nFinding settings for simple and structured data&quot;)" -->
       
    50 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KFind,&quot;\nFinding settings for simple and structured data&quot;)</td></tr>
       
    51 
       
    52 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f8e1df87687281050a2106702481cace"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="f8e1df87687281050a2106702481cace" args="(KNonExisting,&quot;\n\nValue of new setting is %d&quot;)" -->
       
    53 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KNonExisting,&quot;\n\nValue of new setting is %d&quot;)</td></tr>
       
    54 
       
    55 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="91097917bddef93fe2e7830c02fcab48"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="91097917bddef93fe2e7830c02fcab48" args="(KInt,&quot;\nValue of setting with key x01 is %d&quot;)" -->
       
    56 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KInt,&quot;\nValue of setting with key x01 is %d&quot;)</td></tr>
       
    57 
       
    58 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eb756f5af91efc38b83efebc64190373"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="eb756f5af91efc38b83efebc64190373" args="(KReal,&quot;\nValue of setting with key x02 is %f&quot;)" -->
       
    59 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KReal,&quot;\nValue of setting with key x02 is %f&quot;)</td></tr>
       
    60 
       
    61 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0453984ddd9716ef0643da0a42d70548"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="0453984ddd9716ef0643da0a42d70548" args="(KInteg,&quot;\nValue of setting with key x06 is %d \n&quot;)" -->
       
    62 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KInteg,&quot;\nValue of setting with key x06 is %d \n&quot;)</td></tr>
       
    63 
       
    64 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="100720fb0dc586e3048f2636e5474bb1"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="100720fb0dc586e3048f2636e5474bb1" args="(KIntBefore,&quot;\nValue of setting with key x01 before reset is %d&quot;)" -->
       
    65 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KIntBefore,&quot;\nValue of setting with key x01 before reset is %d&quot;)</td></tr>
       
    66 
       
    67 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="859d0a5996ef0d1cc2801630bf18fc9f"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="859d0a5996ef0d1cc2801630bf18fc9f" args="(KIntAfter,&quot;\nValue of setting with key x01 after reset is %d&quot;)" -->
       
    68 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KIntAfter,&quot;\nValue of setting with key x01 after reset is %d&quot;)</td></tr>
       
    69 
       
    70 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d200bbbc8e51052b461c8785e0be8b29"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="d200bbbc8e51052b461c8785e0be8b29" args="(KIdsFound,&quot;\nFound %d settings&quot;)" -->
       
    71 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KIdsFound,&quot;\nFound %d settings&quot;)</td></tr>
       
    72 
       
    73 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="95052892ae146e109f2146df8f33e25e"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="95052892ae146e109f2146df8f33e25e" args="(KStringName,&quot;Another string&quot;)" -->
       
    74 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KStringName,&quot;Another string&quot;)</td></tr>
       
    75 
       
    76 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4911d2649328fe41e8db35cbe9c12b35"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="4911d2649328fe41e8db35cbe9c12b35" args="(KString1_UpdatedValue,&quot;Value of setting with key x05 is %s&quot;)" -->
       
    77 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KString1_UpdatedValue,&quot;Value of setting with key x05 is %s&quot;)</td></tr>
       
    78 
       
    79 <tr><td class="memItemLeft" nowrap align="right" valign="top">LOCAL_C void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="centrepexample_8cpp.html#689e0bf9aa924a1d7dc108665d44736c">MainL</a> ()</td></tr>
       
    80 
       
    81 <tr><td class="memItemLeft" nowrap align="right" valign="top">GLDEF_C TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="centrepexample_8cpp.html#0f358e9c4355138f629b8c4f37310295">E32Main</a> ()</td></tr>
       
    82 
       
    83 <tr><td colspan="2"><br><h2>Variables</h2></td></tr>
       
    84 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="841be22d434bc6f5e7cde00b629124ba"></a><!-- doxytag: member="centrepexample.cpp::KNonExistentSetting" ref="841be22d434bc6f5e7cde00b629124ba" args="" -->
       
    85 const TUint32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="centrepexample_8cpp.html#841be22d434bc6f5e7cde00b629124ba">KNonExistentSetting</a> = 0x10</td></tr>
       
    86 
       
    87 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b51e13a40abcd0929cdb185e3420131b"></a><!-- doxytag: member="centrepexample.cpp::KInt1" ref="b51e13a40abcd0929cdb185e3420131b" args="" -->
       
    88 const TUint32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="centrepexample_8cpp.html#b51e13a40abcd0929cdb185e3420131b">KInt1</a> = 0x01</td></tr>
       
    89 
       
    90 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8c89e8423be52fd1bc368cf5543196e9"></a><!-- doxytag: member="centrepexample.cpp::KInt3" ref="8c89e8423be52fd1bc368cf5543196e9" args="" -->
       
    91 const TUint32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="centrepexample_8cpp.html#8c89e8423be52fd1bc368cf5543196e9">KInt3</a> = 0x06</td></tr>
       
    92 
       
    93 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b5338c35514ac188dafdba0e9083fa14"></a><!-- doxytag: member="centrepexample.cpp::KReal1" ref="b5338c35514ac188dafdba0e9083fa14" args="" -->
       
    94 const TUint32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="centrepexample_8cpp.html#b5338c35514ac188dafdba0e9083fa14">KReal1</a> = 0x02</td></tr>
       
    95 
       
    96 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9cac7b725e3b7db4f0996569491a8754"></a><!-- doxytag: member="centrepexample.cpp::KString1" ref="9cac7b725e3b7db4f0996569491a8754" args="" -->
       
    97 const TUint32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="centrepexample_8cpp.html#9cac7b725e3b7db4f0996569491a8754">KString1</a> = 0x05</td></tr>
       
    98 
       
    99 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="26522c5a6e5b261136ca16173dc58921"></a><!-- doxytag: member="centrepexample.cpp::KInt1_InitialValue" ref="26522c5a6e5b261136ca16173dc58921" args="" -->
       
   100 const TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="centrepexample_8cpp.html#26522c5a6e5b261136ca16173dc58921">KInt1_InitialValue</a> = 1</td></tr>
       
   101 
       
   102 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="72c6ed80162c86177f369a50d3015a47"></a><!-- doxytag: member="centrepexample.cpp::KInt1_UpdatedValue" ref="72c6ed80162c86177f369a50d3015a47" args="" -->
       
   103 const TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="centrepexample_8cpp.html#72c6ed80162c86177f369a50d3015a47">KInt1_UpdatedValue</a> = 73</td></tr>
       
   104 
       
   105 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6283fcdef4584a1fdfc129c9588fccaf"></a><!-- doxytag: member="centrepexample.cpp::KReal1_InitialValue" ref="6283fcdef4584a1fdfc129c9588fccaf" args="" -->
       
   106 const TReal&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="centrepexample_8cpp.html#6283fcdef4584a1fdfc129c9588fccaf">KReal1_InitialValue</a> = 14.91</td></tr>
       
   107 
       
   108 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d2a0ec821823376147d2f52e9668cdf2"></a><!-- doxytag: member="centrepexample.cpp::KReal1_UpdatedValue" ref="d2a0ec821823376147d2f52e9668cdf2" args="" -->
       
   109 const TReal&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="centrepexample_8cpp.html#d2a0ec821823376147d2f52e9668cdf2">KReal1_UpdatedValue</a> = 72.8</td></tr>
       
   110 
       
   111 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af75a270116ff145ce1037613fbc2465"></a><!-- doxytag: member="centrepexample.cpp::KMoveTarget" ref="af75a270116ff145ce1037613fbc2465" args="" -->
       
   112 const TUint32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="centrepexample_8cpp.html#af75a270116ff145ce1037613fbc2465">KMoveTarget</a> = 0x30</td></tr>
       
   113 
       
   114 </table>
       
   115 <hr><a name="_details"></a><h2>Detailed Description</h2>
       
   116 
       
   117 <p>Definition in file <a class="el" href="centrepexample_8cpp-source.html">centrepexample.cpp</a>.</p>
       
   118 <hr><h2>Function Documentation</h2>
       
   119 <a class="anchor" name="689e0bf9aa924a1d7dc108665d44736c"></a><!-- doxytag: member="centrepexample.cpp::MainL" ref="689e0bf9aa924a1d7dc108665d44736c" args="()" -->
       
   120 <div class="memitem">
    89 <div class="memitem">
   121 <div class="memproto">
    90 <div class="memproto">
   122       <table class="memname">
    91       <table class="memname">
   123         <tr>
    92         <tr>
   124           <td class="memname">LOCAL_C void MainL           </td>
    93           <td class="memname">LOCAL_C void MainL </td>
   125           <td>(</td>
    94           <td>(</td>
   126           <td class="paramname">          </td>
    95           <td class="paramname"></td>
   127           <td>&nbsp;)&nbsp;</td>
    96           <td>&nbsp;)&nbsp;</td>
   128           <td width="100%"></td>
    97           <td></td>
   129         </tr>
    98         </tr>
   130       </table>
    99       </table>
   131 </div>
   100 </div>
   132 <div class="memdoc">
   101 <div class="memdoc">
       
   102 <p>Much simpler MainL(), uses the new Rendezvous() call to sync with the client</p>
       
   103 <p>Secure variant Much simpler, uses the new Rendezvous() call to sync with the client </p>
   133 
   104 
   134 <p>
   105 <p>Definition at line <a class="el" href="centrepexample_8cpp_source.html#l00445">445</a> of file <a class="el" href="centrepexample_8cpp_source.html">centrepexample.cpp</a>.</p>
   135 Much simpler <a class="el" href="circularbuffer_8cpp.html#5fb473d4ee18739183215b04dcad6e12">MainL()</a>, uses the new Rendezvous() call to sync with the client<p>
       
   136 Secure variant Much simpler, uses the new Rendezvous() call to sync with the client 
       
   137 <p>Definition at line <a class="el" href="centrepexample_8cpp-source.html#l00445">445</a> of file <a class="el" href="centrepexample_8cpp-source.html">centrepexample.cpp</a>.</p>
       
   138 
   106 
   139 </div>
   107 </div>
   140 </div><p>
   108 </div>
   141 <a class="anchor" name="0f358e9c4355138f629b8c4f37310295"></a><!-- doxytag: member="centrepexample.cpp::E32Main" ref="0f358e9c4355138f629b8c4f37310295" args="()" -->
   109 <a class="anchor" id="a0f358e9c4355138f629b8c4f37310295"></a><!-- doxytag: member="centrepexample.cpp::E32Main" ref="a0f358e9c4355138f629b8c4f37310295" args="()" -->
   142 <div class="memitem">
   110 <div class="memitem">
   143 <div class="memproto">
   111 <div class="memproto">
   144       <table class="memname">
   112       <table class="memname">
   145         <tr>
   113         <tr>
   146           <td class="memname">GLDEF_C TInt E32Main           </td>
   114           <td class="memname">GLDEF_C TInt E32Main </td>
   147           <td>(</td>
   115           <td>(</td>
   148           <td class="paramname">          </td>
   116           <td class="paramname"></td>
   149           <td>&nbsp;)&nbsp;</td>
   117           <td>&nbsp;)&nbsp;</td>
   150           <td width="100%"></td>
   118           <td></td>
   151         </tr>
   119         </tr>
   152       </table>
   120       </table>
   153 </div>
   121 </div>
   154 <div class="memdoc">
   122 <div class="memdoc">
       
   123 <p>Returns standard error code on exit</p>
       
   124 <p>Secure variant only Process entry point. Called by client using RProcess API </p>
       
   125 <dl class="return"><dt><b>Returns:</b></dt><dd>Standard Epoc error code on process exit</dd>
       
   126 <dd>
       
   127 Standard Epoc error code on process exit Secure variant only Process entry point. Called by client using RProcess API</dd></dl>
       
   128 <p>Entry point for the example</p>
       
   129 <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>
       
   130 <p>Standard entry point function.</p>
       
   131 <p>A normal Symbian OS executable provides an E32Main() function which is called by the operating system to start the program. </p>
   155 
   132 
   156 <p>
   133 <p>Definition at line <a class="el" href="centrepexample_8cpp_source.html#l00484">484</a> of file <a class="el" href="centrepexample_8cpp_source.html">centrepexample.cpp</a>.</p>
   157 Returns standard error code on exit<p>
       
   158 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>
       
   159 Standard Epoc error code on process exit Secure variant only Process entry point. Called by client using RProcess API</dd></dl>
       
   160 Entry point for the example<p>
       
   161 The E32main function is the main entry point for the code.<p>
       
   162 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>
       
   163 Standard entry point function. 
       
   164 <p>Definition at line <a class="el" href="centrepexample_8cpp-source.html#l00484">484</a> of file <a class="el" href="centrepexample_8cpp-source.html">centrepexample.cpp</a>.</p>
       
   165 
   134 
   166 </div>
   135 </div>
   167 </div><p>
   136 </div>
   168 <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;
   137 </div>
       
   138 <hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
   169 <a href="http://www.doxygen.org/index.html">
   139 <a href="http://www.doxygen.org/index.html">
   170 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
   140 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
   171 </body>
   141 </body>
   172 </html>
   142 </html>