omads/omadsextensions/adapters/sms/src/smsdatastore.rss
changeset 36 9ba7f05d28a5
equal deleted inserted replaced
35:0ca79e3612d9 36:9ba7f05d28a5
       
     1 /*
       
     2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Resource data for SmsDataProvider
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "SmlDataFormat.rh"
       
    20 #include "SmlDataFormat.hrh"
       
    21 
       
    22 RESOURCE SML_DATA_STORE_FORMAT SMS_DATA_STORE
       
    23 	{
       
    24 	version = 1;
       
    25 	display_name = "Text messages";
       
    26 	sync_types = KSmlSyncType_TwoWay + KSmlSyncType_SlowSync;
       
    27 	mime_format=
       
    28 		{
       
    29 		SML_MIME_FORMAT
       
    30 			{
       
    31 			version = 1;
       
    32 			mime_type = "text/x-vMessage";
       
    33 			mime_ver = "1.0";
       
    34 			properties= 
       
    35 				{
       
    36 				SML_DATA_PROPERTY
       
    37 					{
       
    38 					version = 1;
       
    39 					display_name = "Read";
       
    40 					name = "read";
       
    41 					data_type = "bool";
       
    42 					enum_values = {};
       
    43 					flags = 0;
       
    44 					max_size = 0;
       
    45 					max_occur = 1;
       
    46 					params = {};
       
    47 					}
       
    48 				};
       
    49 			field_level = 0;
       
    50 			},
       
    51 		SML_MIME_FORMAT
       
    52 			{
       
    53 			version = 1;
       
    54 			mime_type = "application/vnd.omads-folder+xml";
       
    55 			mime_ver = "1.0";
       
    56 			properties= 
       
    57 				{
       
    58 				SML_DATA_PROPERTY
       
    59 					{
       
    60 					version = 1;
       
    61 					display_name = "Read";
       
    62 					name = "read";
       
    63 					data_type = "bool";
       
    64 					enum_values = {};
       
    65 					flags = 0;
       
    66 					max_size = 0;
       
    67 					max_occur = 1;
       
    68 					params = {};
       
    69 					}
       
    70 				};
       
    71 			field_level = 0;
       
    72 			}				
       
    73 		};
       
    74 	mime_format_tx_pref = 0;    	// Preferred index for tx
       
    75 	mime_format_rx_pref = 0;	// Preferred index for rx
       
    76 	folder_properties = {};		// No folder properties
       
    77 	filter_capabilities = {};	// No filter capabilities
       
    78 	max_size = 0;				// No limit
       
    79 	max_items = 0;	 			// No limit
       
    80 	flags = 0x00000010;			// Hierarchical sync supported
       
    81 	}