diff -r 9905f7d46607 -r b63e67867dcd omads/omadsextensions/adapters/mediads/src/mediadsstore.rss --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/omads/omadsextensions/adapters/mediads/src/mediadsstore.rss Tue Jul 13 03:39:25 2010 +0530 @@ -0,0 +1,105 @@ +/* +* 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 "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 Media DS adapter +* +*/ + + +#include +#include + +RESOURCE SML_DATA_STORE_FORMAT MEDIADS_DATA_STORE + { + version = 1; + display_name = "Media"; + sync_types = KSmlSyncType_TwoWay + KSmlSyncType_OneWayFromSvr + KSmlSyncType_OneWayFromClnt + + KSmlSyncType_SlowSync + KSmlSyncType_RefreshFromSvr + KSmlSyncType_RefreshFromClnt; + + mime_format= + { + SML_MIME_FORMAT + { + version = 1; + mime_type = "application/vnd.omads-folder+xml"; + mime_ver = "1.2"; + 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 = "audio/x-mpegurl"; + 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/x-song"; + 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; + }