<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2009 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".           -->
<componentDefinition xmlns="http://www.nokia.com/sdt/emf/component" 
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.nokia.com/sdt/emf/component
C:\Users\NOKIAI~1\RADPLA~1\design\component.xsd">
	
	<component baseComponent="com.nokia.examples.baseComponent"
	friendlyName="Source Mapping Test" 
	qualifiedName="com.nokia.examples.srcmapForm" 
	category="Testing" version="1.0">
		<sourceMapping>
			<mapResource struct="FORM" headers="arraydialog.rh">
				<mapSimpleMember property="formFlags" member="flags"/>

				<mapResourceMember property="." member="dialog" struct="DIALOG" headers="arraydialog.rh">

				<mapArrayMember property="." member="lines">
					<mapResourceElement struct="DIALOG_LINE" headers="arraydialog.rh">
						<mapEnumMember property="." member="id"
							uniqueValue="*"
							nameAlgorithm="com.nokia.sdt.component.symbian.NAME_ALG_DIALOG_LINE_ID"
						/>
						<mapEnumMember property="." member="type" headers="enumsheader.rh"
							nameAlgorithm="com.nokia.sdt.component.symbian.NAME_ALG_CONTROL_TYPE"
						/>
						<mapResourceMember property="." member="field"/>
					</mapResourceElement>
				</mapArrayMember>

				</mapResourceMember>
				
			</mapResource>
		</sourceMapping>
		
		<properties>
			<property name="formFlags" type="integer" />
			<property name="flags" type="integer" />
		</properties>
	</component>
</componentDefinition>
