omads/omadsextensions/adapters/bookmark/src/bookmarkdatastore.rss
changeset 40 b63e67867dcd
parent 0 dab8a81a92de
equal deleted inserted replaced
39:9905f7d46607 40:b63e67867dcd
       
     1 /*
       
     2 * Copyright (c) 2005-2008 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 Bookmark DS Plug In Adapter
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <SmlDataFormat.rh>
       
    20 #include <SmlDataFormat.hrh>
       
    21 
       
    22 RESOURCE SML_DATA_STORE_FORMAT BOOKMARK_DATA_STORE
       
    23     {
       
    24     version = 1;
       
    25     display_name = "Bookmarks";
       
    26     sync_types = KSmlSyncType_TwoWay + KSmlSyncType_OneWayFromSvr + KSmlSyncType_OneWayFromClnt + KSmlSyncType_SlowSync + KSmlSyncType_RefreshFromSvr + KSmlSyncType_RefreshFromClnt;
       
    27     mime_format=
       
    28         {
       
    29         SML_MIME_FORMAT
       
    30             {
       
    31             version = 1;
       
    32             mime_type = "text/x-vBookmark";
       
    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     }