phonebookengines/VirtualPhonebook/VPbkSimStore/rss/VPbkSimStoreRes.rss
changeset 0 e686773b3f54
child 18 d4f567ce2e7c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/phonebookengines/VirtualPhonebook/VPbkSimStore/rss/VPbkSimStoreRes.rss	Tue Feb 02 10:12:17 2010 +0200
@@ -0,0 +1,108 @@
+/*
+* Copyright (c) 2005-2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "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:
+*
+* Description:  
+*
+*/
+
+
+// INCLUDES
+#include <badef.rh>
+#include <VPbkFieldType.rh>
+#include <VPbkFieldType.hrh>
+#include <VPbkSimCntFieldTypes.hrh>
+#include "FieldTypeMapping.rh"
+
+// RESOURCES
+
+RESOURCE BA_RSS_SIGNATURE { }
+
+RESOURCE FIELDTYPE_MAPPINGS r_vpbk_versit_field_type_mappings
+    {
+    items =
+        {
+        // SIM name = Last name
+        VERSIT_FIELDTYPE_MAPPING
+            {
+            simFieldId = EVPbkSimName;
+            versitProperty = VBK_FIELD_VERSIT_PROPERTY
+                {
+                name = EVPbkVersitNameN;
+                subField = EVPbkVersitSubFieldFamilyName;
+                };
+            },
+        // USIM second name = reading in japanese variant
+        VERSIT_FIELDTYPE_MAPPING
+            {
+            simFieldId = EVPbkSimReading;
+            versitProperty = VBK_FIELD_VERSIT_PROPERTY
+                {
+                name = EVPbkVersitNameSOUND;
+                subField = EVPbkVersitSubFieldFamilyNamePronunciation;
+                };
+            },
+        // SIM GSM number = general mobile
+        VERSIT_FIELDTYPE_MAPPING
+            {
+            simFieldId = EVPbkSimGsmNumber;
+            versitProperty = VBK_FIELD_VERSIT_PROPERTY
+                {
+                name = EVPbkVersitNameTEL;
+                parameters = { EVPbkVersitParamCELL };
+                };
+            },
+        // USIM additional numbers = general mobile
+        VERSIT_FIELDTYPE_MAPPING
+            {
+            simFieldId = EVPbkSimAdditionalNumber;
+            versitProperty = VBK_FIELD_VERSIT_PROPERTY
+                {
+                name = EVPbkVersitNameTEL;
+                parameters = { EVPbkVersitParamCELL };
+                };
+            },
+        // USIM email = general email
+        VERSIT_FIELDTYPE_MAPPING
+            {
+            simFieldId = EVPbkSimEMailAddress;
+            versitProperty = VBK_FIELD_VERSIT_PROPERTY
+                {
+                name = EVPbkVersitNameEMAIL;
+                parameters = 
+                    {
+                    EVPbkVersitParamINTERNET
+                    };
+                };
+            },
+        // USIM second name = nick name in variants other than japan
+        VERSIT_FIELDTYPE_MAPPING
+            {
+            simFieldId = EVPbkSimNickName;
+            versitProperty = VBK_FIELD_VERSIT_PROPERTY
+                {
+                name = EVPbkVersitNameX;
+                extensionName = "X-NICKNAME";
+                };
+            }
+        };
+    }
+
+// When nickname has removed this is empty, could this be removed?
+RESOURCE FIELDTYPE_MAPPINGS r_vpbk_nonversit_field_type_mappings
+    {
+    items = 
+        {
+        };
+    }
+
+// End of File