Symbian3/PDK/Source/GUID-D52E98C3-F5EE-4CE1-A4F5-2EF41A066B8A.dita
changeset 5 f345bda72bc4
parent 1 25a17d01db0c
child 9 59758314f811
--- a/Symbian3/PDK/Source/GUID-D52E98C3-F5EE-4CE1-A4F5-2EF41A066B8A.dita	Tue Mar 30 11:42:04 2010 +0100
+++ b/Symbian3/PDK/Source/GUID-D52E98C3-F5EE-4CE1-A4F5-2EF41A066B8A.dita	Tue Mar 30 11:56:28 2010 +0100
@@ -4,10 +4,13 @@
 "Eclipse Public License v1.0" which accompanies this distribution, 
 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
 <!-- Initial Contributors:
-	Nokia Corporation - initial contribution.
+    Nokia Corporation - initial contribution.
 Contributors: 
--->  <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"><concept id="GUID-D52E98C3-F5EE-4CE1-A4F5-2EF41A066B8A" xml:lang="en"><title>Creating
-resource header files</title><prolog><metadata><keywords></keywords></metadata></prolog><conbody>
+-->
+<!DOCTYPE concept
+  PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
+<concept id="GUID-D52E98C3-F5EE-4CE1-A4F5-2EF41A066B8A" xml:lang="en"><title>Creating
+resource header files</title><prolog><metadata><keywords/></metadata></prolog><conbody>
 <p>Typically when you create an application, there are cases where you
 need to create an enumerated set of command IDs (which are symbols with integer
 values). These defined symbols can then be used in both your code and resource
@@ -21,7 +24,8 @@
 <li><p>Control IDs in dialogs to allow references to the dialog
 controls from C++ code.</p>
 <itemgroup>
-<p>For more information on control IDs for dialogs, see Using Dialogs API.</p>
+<p>For more information on control IDs for dialogs, see <xref format="html" href="specs/guides/Dialogs_API_Specification/Dialogs_API_Specification.html.dita#specs/guides/Dialogs_API_Specification/Dialogs_API_Specification.html/Dialogs_API_Specification.topic3">Using
+Dialogs API</xref>.</p>
 </itemgroup>
 </li>
 <li><p>Application view IDs. Note that these could also be enumerated
@@ -32,7 +36,7 @@
 <p>These enumerated values need to be defined in a resource file, which
 by convention has the extension <parmname>hrh</parmname>, The syntax is as
 follows:</p>
-<codeblock xml:space="preserve" id="GUID-2CDD719A-48CA-47EF-A737-7CCB62DF6FC6">enum TCommandIds
+<codeblock id="GUID-2CDD719A-48CA-47EF-A737-7CCB62DF6FC6" xml:space="preserve">enum TCommandIds
     {
     ECmdAppTest1 = 1,
     ECmdView1Cmd1,
@@ -46,23 +50,27 @@
 <p>where</p>
 <ul>
 <li><p><parmname>enum</parmname> is the keyword declaration the
-set of integer values. Note that you would use this keyword for each set of
-enumerated values you defined.</p></li>
+set of integer values. </p>
+<note>
+<p>Use this keyword for each set of enumerated values you defined.</p>
+</note>
+</li>
 <li><p><parmname>TCommandIds</parmname> is a label for the list
 of enumerated values. This label is not used in the code or resource files.</p>
 </li>
 <li><p><parmname>ECmdAppTest1</parmname> is a symbol that can be
-used in your code or resource files</p></li>
+used in your code or resource files.</p></li>
 <li><p><parmname>=</parmname> is the operator used for setting the
-value to the symbol</p></li>
+value to the symbol.</p></li>
 <li><p><parmname>1</parmname> is the specific value assigned to
-the enumerator symbol</p></li>
+the enumerator symbol.</p></li>
 </ul>
-<p>Each enumerator is followed by a <parmname>,</parmname>, except for
-the last value. It is recommended to have a final <parmname>;</parmname> after
-the enumerated list. If a specific value is not assigned to a symbol in the
-enumerated list, then the value is that of the previous enumerator plus one.
-Thus, the value for <parmname>ECmdView1Cmd1</parmname> above is 2.</p>
+<p>Each enumerator is followed by a comma (<codeph>,</codeph>) except for
+the last value. It is recommended to have a final semi colon (<codeph>;</codeph>)
+after the enumerated list. If a specific value is not assigned to a symbol
+in the enumerated list, then the value is that of the previous enumerator
+plus one. Thus, the value for <parmname>ECmdView1Cmd1</parmname> above is
+2.</p>
 <p>For more information about the use of the <parmname>enum</parmname> statement,
 see <xref href="jar:GUID-35228542-8C95-4849-A73F-2B4F082F0C44.jar!/sdk/doc_source/ToolsAndUtilities94/DevTools-ref/ResourceFileFormat/Tool_Ref_RSS-file-format-ENUM.html#DevTools%2dref%2erss%2denum" format="application/java-archive">ENUM statement</xref>.</p>
 </conbody></concept>
\ No newline at end of file