# HG changeset patch # User hgs # Date 1288790556 -19800 # Node ID 56093b6d00b68dc7f50deba07f825cc674314846 # Parent a62b67d1f67c8c09479025f71538d87a51cd3210 201045 diff -r a62b67d1f67c -r 56093b6d00b6 contentctrl_plat/adapter_customization_api/tsrc/ContactAdapter/testdata/basic.vcf --- /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 diff -r a62b67d1f67c -r 56093b6d00b6 omads/omadsextensions/adapters/sms/src/SmsDataStore.rss --- /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 + }