201045 default
authorhgs
Wed, 03 Nov 2010 18:52:36 +0530
changeset 68 56093b6d00b6
parent 64 a62b67d1f67c
201045
contentctrl_plat/adapter_customization_api/tsrc/ContactAdapter/testdata/basic.vcf
omads/omadsextensions/adapters/sms/src/SmsDataStore.rss
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contentctrl_plat/adapter_customization_api/tsrc/ContactAdapter/testdata/basic.vcf	Wed Nov 03 18:52:36 2010 +0530
@@ -0,0 +1,5 @@
+BEGIN:VCARD
+VERSION:2.1
+N:Smith;John
+TITLE:Boss
+END:VCARD
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/omads/omadsextensions/adapters/sms/src/SmsDataStore.rss	Wed Nov 03 18:52:36 2010 +0530
@@ -0,0 +1,81 @@
+/*
+* Copyright (c) 2005 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:  Resource data for SmsDataProvider
+*
+*/
+
+
+#include "SmlDataFormat.rh"
+#include "SmlDataFormat.hrh"
+
+RESOURCE SML_DATA_STORE_FORMAT SMS_DATA_STORE
+	{
+	version = 1;
+	display_name = "Text messages";
+	sync_types = KSmlSyncType_TwoWay + KSmlSyncType_SlowSync;
+	mime_format=
+		{
+		SML_MIME_FORMAT
+			{
+			version = 1;
+			mime_type = "text/x-vMessage";
+			mime_ver = "1.0";
+			properties= 
+				{
+				SML_DATA_PROPERTY
+					{
+					version = 1;
+					display_name = "Read";
+					name = "read";
+					data_type = "bool";
+					enum_values = {};
+					flags = 0;
+					max_size = 0;
+					max_occur = 1;
+					params = {};
+					}
+				};
+			field_level = 0;
+			},
+		SML_MIME_FORMAT
+			{
+			version = 1;
+			mime_type = "application/vnd.omads-folder+xml";
+			mime_ver = "1.0";
+			properties= 
+				{
+				SML_DATA_PROPERTY
+					{
+					version = 1;
+					display_name = "Read";
+					name = "read";
+					data_type = "bool";
+					enum_values = {};
+					flags = 0;
+					max_size = 0;
+					max_occur = 1;
+					params = {};
+					}
+				};
+			field_level = 0;
+			}				
+		};
+	mime_format_tx_pref = 0;    	// Preferred index for tx
+	mime_format_rx_pref = 0;	// Preferred index for rx
+	folder_properties = {};		// No folder properties
+	filter_capabilities = {};	// No filter capabilities
+	max_size = 0;				// No limit
+	max_items = 0;	 			// No limit
+	flags = 0x00000010;			// Hierarchical sync supported
+	}