Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/centrepexample_8cpp.html
author Dominic Pinkman <dominic.pinkman@nokia.com>
Fri, 13 Aug 2010 16:47:46 +0100
changeset 14 578be2adaf3e
parent 6 43e37759235e
permissions -rw-r--r--
Week 32 contribution of PDK documentation content. See release notes for details. Fixes bug Bug 3582
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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/CentRepExample/centrepexample.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/CentRepExample/centrepexample.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="centrepexample_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="acffbf43bbe111f4f3669658ce5d7a4dd"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="acffbf43bbe111f4f3669658ce5d7a4dd" args="(KTitle,&quot;Central repository example&quot;)" -->
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
&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTitle,&quot;Central repository example&quot;)</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="a1bc8a0562f6a9402175902a473e0b4f0"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a1bc8a0562f6a9402175902a473e0b4f0" args="(KTextPressAKey,&quot;\n\nPress any key to step through the example&quot;)" -->
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
&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTextPressAKey,&quot;\n\nPress any key to step through the example&quot;)</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="a55275423706c7625ff69bfab9ed0109c"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a55275423706c7625ff69bfab9ed0109c" args="(KExit,&quot;\nPress any key to exit the application &quot;)" -->
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
&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KExit,&quot;\nPress any key to exit the application &quot;)</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="abe7269e632d6878521fc75373ae7869e"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="abe7269e632d6878521fc75373ae7869e" args="(KPressAKey,&quot;\nPress any key to continue \n&quot;)" -->
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
&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KPressAKey,&quot;\nPress any key to continue \n&quot;)</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="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;)" -->
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    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>
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="a369df0f107e442f948a1b7bedd8b9379"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a369df0f107e442f948a1b7bedd8b9379" args="(KOpen,&quot;\n\nOpening the repository and displaying some initial settings&quot;)" -->
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
&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KOpen,&quot;\n\nOpening the repository and displaying some initial settings&quot;)</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="a65a8a4bf6776ab76f4b177eff0d0f04f"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a65a8a4bf6776ab76f4b177eff0d0f04f" args="(KChangeSet,&quot;\nChanging some settings in the repository&quot;)" -->
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
&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KChangeSet,&quot;\nChanging some settings in the repository&quot;)</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="a3a1ba0ac4b36d6b6eff1689d427c48e6"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a3a1ba0ac4b36d6b6eff1689d427c48e6" args="(KReadSet,&quot;\nReading the changed settings&quot;)" -->
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
&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KReadSet,&quot;\nReading the changed settings&quot;)</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="a97d17b7f39d092596de80df2d8a1b084"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a97d17b7f39d092596de80df2d8a1b084" args="(KTransact,&quot;\n\nPerforming read and write transactions&quot;)" -->
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
&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTransact,&quot;\n\nPerforming read and write transactions&quot;)</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="a2133f47241ab715517c3c873b4a7d472"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a2133f47241ab715517c3c873b4a7d472" args="(KDelete,&quot;\n\nCreating integer and real number settings and deleting them&quot;)" -->
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
&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>
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="ad77116706d836af732e8949af2488d31"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="ad77116706d836af732e8949af2488d31" args="(KMove,&quot;\n\nMoving the key to target position&quot;)" -->
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
&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KMove,&quot;\n\nMoving the key to target position&quot;)</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="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;)" -->
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
    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>
6
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="ad8f03539144b46fd07b7e8981a5fae56"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="ad8f03539144b46fd07b7e8981a5fae56" args="(KFind,&quot;\nFinding settings for simple and structured data&quot;)" -->
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    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>
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="af8e1df87687281050a2106702481cace"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="af8e1df87687281050a2106702481cace" args="(KNonExisting,&quot;\n\nValue of new setting is %d&quot;)" -->
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
    43
&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KNonExisting,&quot;\n\nValue of new setting is %d&quot;)</td></tr>
6
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="a91097917bddef93fe2e7830c02fcab48"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a91097917bddef93fe2e7830c02fcab48" args="(KInt,&quot;\nValue of setting with key x01 is %d&quot;)" -->
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
    45
&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KInt,&quot;\nValue of setting with key x01 is %d&quot;)</td></tr>
6
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="aeb756f5af91efc38b83efebc64190373"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="aeb756f5af91efc38b83efebc64190373" args="(KReal,&quot;\nValue of setting with key x02 is %f&quot;)" -->
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
    47
&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KReal,&quot;\nValue of setting with key x02 is %f&quot;)</td></tr>
6
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="a0453984ddd9716ef0643da0a42d70548"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a0453984ddd9716ef0643da0a42d70548" args="(KInteg,&quot;\nValue of setting with key x06 is %d \n&quot;)" -->
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    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>
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="a100720fb0dc586e3048f2636e5474bb1"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a100720fb0dc586e3048f2636e5474bb1" args="(KIntBefore,&quot;\nValue of setting with key x01 before reset is %d&quot;)" -->
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    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>
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="a859d0a5996ef0d1cc2801630bf18fc9f"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a859d0a5996ef0d1cc2801630bf18fc9f" args="(KIntAfter,&quot;\nValue of setting with key x01 after reset is %d&quot;)" -->
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    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>
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="ad200bbbc8e51052b461c8785e0be8b29"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="ad200bbbc8e51052b461c8785e0be8b29" args="(KIdsFound,&quot;\nFound %d settings&quot;)" -->
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    55
&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KIdsFound,&quot;\nFound %d settings&quot;)</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="a95052892ae146e109f2146df8f33e25e"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a95052892ae146e109f2146df8f33e25e" args="(KStringName,&quot;Another string&quot;)" -->
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    57
&nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KStringName,&quot;Another string&quot;)</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="a4911d2649328fe41e8db35cbe9c12b35"></a><!-- doxytag: member="centrepexample.cpp::_LIT" ref="a4911d2649328fe41e8db35cbe9c12b35" args="(KString1_UpdatedValue,&quot;Value of setting with key x05 is %s&quot;)" -->
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    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>
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">LOCAL_C void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="centrepexample_8cpp.html#a689e0bf9aa924a1d7dc108665d44736c">MainL</a> ()</td></tr>
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    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>
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    62
<tr><td colspan="2"><h2>Variables</h2></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"><a class="anchor" id="a841be22d434bc6f5e7cde00b629124ba"></a><!-- doxytag: member="centrepexample.cpp::KNonExistentSetting" ref="a841be22d434bc6f5e7cde00b629124ba" args="" -->
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    64
const TUint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>KNonExistentSetting</b> = 0x10</td></tr>
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    65
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab51e13a40abcd0929cdb185e3420131b"></a><!-- doxytag: member="centrepexample.cpp::KInt1" ref="ab51e13a40abcd0929cdb185e3420131b" args="" -->
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    66
const TUint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>KInt1</b> = 0x01</td></tr>
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    67
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8c89e8423be52fd1bc368cf5543196e9"></a><!-- doxytag: member="centrepexample.cpp::KInt3" ref="a8c89e8423be52fd1bc368cf5543196e9" args="" -->
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    68
const TUint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>KInt3</b> = 0x06</td></tr>
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    69
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab5338c35514ac188dafdba0e9083fa14"></a><!-- doxytag: member="centrepexample.cpp::KReal1" ref="ab5338c35514ac188dafdba0e9083fa14" args="" -->
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    70
const TUint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>KReal1</b> = 0x02</td></tr>
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    71
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9cac7b725e3b7db4f0996569491a8754"></a><!-- doxytag: member="centrepexample.cpp::KString1" ref="a9cac7b725e3b7db4f0996569491a8754" args="" -->
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    72
const TUint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>KString1</b> = 0x05</td></tr>
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    73
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a26522c5a6e5b261136ca16173dc58921"></a><!-- doxytag: member="centrepexample.cpp::KInt1_InitialValue" ref="a26522c5a6e5b261136ca16173dc58921" args="" -->
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    74
const TInt&nbsp;</td><td class="memItemRight" valign="bottom"><b>KInt1_InitialValue</b> = 1</td></tr>
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    75
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a72c6ed80162c86177f369a50d3015a47"></a><!-- doxytag: member="centrepexample.cpp::KInt1_UpdatedValue" ref="a72c6ed80162c86177f369a50d3015a47" args="" -->
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    76
const TInt&nbsp;</td><td class="memItemRight" valign="bottom"><b>KInt1_UpdatedValue</b> = 73</td></tr>
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    77
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6283fcdef4584a1fdfc129c9588fccaf"></a><!-- doxytag: member="centrepexample.cpp::KReal1_InitialValue" ref="a6283fcdef4584a1fdfc129c9588fccaf" args="" -->
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    78
const TReal&nbsp;</td><td class="memItemRight" valign="bottom"><b>KReal1_InitialValue</b> = 14.91</td></tr>
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    79
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad2a0ec821823376147d2f52e9668cdf2"></a><!-- doxytag: member="centrepexample.cpp::KReal1_UpdatedValue" ref="ad2a0ec821823376147d2f52e9668cdf2" args="" -->
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    80
const TReal&nbsp;</td><td class="memItemRight" valign="bottom"><b>KReal1_UpdatedValue</b> = 72.8</td></tr>
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    81
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf75a270116ff145ce1037613fbc2465"></a><!-- doxytag: member="centrepexample.cpp::KMoveTarget" ref="aaf75a270116ff145ce1037613fbc2465" args="" -->
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    82
const TUint32&nbsp;</td><td class="memItemRight" valign="bottom"><b>KMoveTarget</b> = 0x30</td></tr>
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    83
</table>
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    84
<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
    85
6
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    86
<p>Definition in file <a class="el" href="centrepexample_8cpp_source.html">centrepexample.cpp</a>.</p>
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    87
<hr/><h2>Function Documentation</h2>
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    88
<a class="anchor" id="a689e0bf9aa924a1d7dc108665d44736c"></a><!-- doxytag: member="centrepexample.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
    89
<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
    90
<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
    91
      <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
    92
        <tr>
6
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    93
          <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
    94
          <td>(</td>
6
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    95
          <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
    96
          <td>&nbsp;)&nbsp;</td>
6
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
    97
          <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
    98
        </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
    99
      </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
   100
</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
   101
<div class="memdoc">
6
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
   102
<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
   103
<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
   104
6
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
   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>
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
   106
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
   107
</div>
6
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
   108
</div>
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
   109
<a class="anchor" id="a0f358e9c4355138f629b8c4f37310295"></a><!-- doxytag: member="centrepexample.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
   110
<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
   111
<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
   112
      <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
   113
        <tr>
6
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
   114
          <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
   115
          <td>(</td>
6
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
   116
          <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
   117
          <td>&nbsp;)&nbsp;</td>
6
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
   118
          <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
   119
        </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
   120
      </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
   121
</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
   122
<div class="memdoc">
6
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
   123
<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
   124
<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
   125
<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
   126
<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
   127
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
   128
<p>Entry point for the example</p>
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
   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>
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
   130
<p>Standard entry point function.</p>
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
   131
<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
   132
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
   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>
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
   134
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
   135
</div>
6
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
   136
</div>
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
   137
</div>
43e37759235e Week 12 contribution of example code"
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents: 1
diff changeset
   138
<hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
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
   139
<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
   140
<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
   141
</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
   142
</html>