Symbian3/SDK/Source/GUID-F9605837-2209-500D-AB62-48A433489C5E.dita
changeset 0 89d6a7a84779
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Symbian3/SDK/Source/GUID-F9605837-2209-500D-AB62-48A433489C5E.dita	Thu Jan 21 18:18:20 2010 +0000
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
+<!-- This component and the accompanying materials are made available under the terms of the License 
+"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.
+Contributors: 
+-->
+<!DOCTYPE concept
+  PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
+<concept id="GUID-F9605837-2209-500D-AB62-48A433489C5E" xml:lang="en"><title>Resource
+file definition</title><prolog><metadata><keywords/></metadata></prolog><conbody>
+<p>A source file consists of any number of statements:</p>
+<codeblock xml:space="preserve">&lt;source-file&gt;
+<b>source-file ::</b>=
+    &lt;statement-list&gt; &lt;statement&gt;
+<b>statement ::</b>=
+    &lt;uid2-statement&gt; | &lt;uid3-statement&gt; | &lt;character_set-statement&gt; | &lt;enum-statement&gt; | &lt;name-statement&gt; | &lt;resource-statement&gt; | &lt;struct-statement&gt;</codeblock>
+<p>A summary of the keywords that are used for these statement types respectively
+is given below:</p>
+<table id="GUID-0138D798-2FA4-5940-89F5-D7D6BC07E9AF">
+<tgroup cols="2"><colspec colname="col0"/><colspec colname="col1"/>
+<tbody>
+<row>
+<entry><p><xref href="GUID-383A617C-474B-509D-BA37-3515BCC5F1D1.dita">CHARACTER_SET</xref> </p> </entry>
+<entry><p>Defines the character set to be used</p> </entry>
+</row>
+<row>
+<entry><p><xref href="GUID-11BF98BD-814A-5CB8-B83E-6D14F38F1783.dita">ENUM</xref> </p> </entry>
+<entry><p>Defines a set of integer values</p> </entry>
+</row>
+<row>
+<entry><p><xref href="GUID-AECDAEBF-777A-579B-92F8-560FD7FF86E7.dita">NAME</xref> </p> </entry>
+<entry><p>By default, the resource IDs in the generated header file are allocated
+from 1 in ascending sequence. The sequence can be made to begin from another
+value using this statement.</p> </entry>
+</row>
+<row>
+<entry><p><xref href="GUID-32F00078-6084-5288-9D3F-9F8D70514799.dita">RESOURCE</xref> </p> </entry>
+<entry><p>Defines an actual resource <i>instance</i> of the type defined in
+a struct, gives it a resource id, and causes it to be generated in the resource
+file. </p> </entry>
+</row>
+<row>
+<entry><p><xref href="GUID-E932B20C-5155-530F-9669-6F5BB1F1AD41.dita">STRUCT</xref> </p> </entry>
+<entry><p>Defines a <i>type</i> of resource.</p> </entry>
+</row>
+<row>
+<entry><p><xref href="GUID-914DD950-4332-5F23-B725-F4D330DB19EB.dita">UID2</xref> </p> </entry>
+<entry><p>Defines the second UID for the resource file</p> </entry>
+</row>
+<row>
+<entry><p><xref href="GUID-914DD950-4332-5F23-B725-F4D330DB19EB.dita">UID3</xref> </p> </entry>
+<entry><p>Defines the third UID for the resource file</p> </entry>
+</row>
+</tbody>
+</tgroup>
+</table>
+<p>The most usual statements are <codeph>STRUCT</codeph> and <codeph>RESOURCE</codeph>. </p>
+</conbody></concept>
\ No newline at end of file