|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-D5B6519B-E902-56C3-80CF-DCEE3F8501BB" xml:lang="en"><title>MultiRead2: |
|
13 Reading Multiple Resource Files with Cross-referenced Resources</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
14 <p>The files reproduced here are the main files contained in the examples |
|
15 directory. Some extra files may be needed to run the examples, and these will |
|
16 be found in the appropriate examples directory. </p> |
|
17 <section><title>Download</title> <p>Click on the following link to download |
|
18 the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-796658e5-d98c-4c42-a5a8-e3b9e8faa3f7.zip" scope="external">MultiRead2.zip</xref></p>Download some additional files required |
|
19 by the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-89fa6105-e749-4e5f-a233-a000e3b9390b.zip" scope="external">CommonFramework</xref><p>Click: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-796658e5-d98c-4c42-a5a8-e3b9e8faa3f7.html" scope="peer">browse</xref> to view the example code. </p>View the additional |
|
20 files: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-89fa6105-e749-4e5f-a233-a000e3b9390b.html" scope="peer">browse</xref>. </section> |
|
21 <section><title>Description</title> <p> <filepath>MultiRead2</filepath> shows |
|
22 how to use multiple resource files with cross-referenced resources. It depends |
|
23 on the resource file created for the <xref href="GUID-0552E177-B824-5E2D-A5A6-0F0694EC13EE.dita">MultiRead1</xref> and <xref href="GUID-9A1317EE-A101-5ACA-A1D4-9D07168157D0.dita">SigCheck</xref> projects. </p> <p>It |
|
24 introduces a second resource file, <filepath>MultiRead2</filepath>, which |
|
25 contains an LLINK to a resource defined in the <xref href="GUID-0552E177-B824-5E2D-A5A6-0F0694EC13EE.dita">MultiRead1</xref> project. |
|
26 The important point to note is that the effect of introducing this second |
|
27 resource file is minimal: just another #include file; and the logic in <codeph>doExampleL()</codeph> would |
|
28 be identical whether the LLINK pointed to another resource in the same file |
|
29 or a different file. </p> </section> |
|
30 <section><title>Class Summary</title><p><xref href="GUID-3DBEDFDD-34F6-3208-B77E-16377A30A562.dita"><apiname>TResourceReaderInterprets</apiname></xref> resource |
|
31 data read from a resource file</p></section> |
|
32 <section><title>Build Notes</title> <p>You must have built <xref href="GUID-0552E177-B824-5E2D-A5A6-0F0694EC13EE.dita">MultiRead1</xref> and <xref href="GUID-9A1317EE-A101-5ACA-A1D4-9D07168157D0.dita">SigCheck</xref> beforehand. </p> </section> |
|
33 </conbody></concept> |