omads/omadsextensions/adapters/bookmark/src/bookmarkdatastore.rss
changeset 40 b63e67867dcd
parent 0 dab8a81a92de
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/omads/omadsextensions/adapters/bookmark/src/bookmarkdatastore.rss	Tue Jul 13 03:39:25 2010 +0530
@@ -0,0 +1,81 @@
+/*
+* Copyright (c) 2005-2008 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 Bookmark DS Plug In Adapter
+*
+*/
+
+
+#include <SmlDataFormat.rh>
+#include <SmlDataFormat.hrh>
+
+RESOURCE SML_DATA_STORE_FORMAT BOOKMARK_DATA_STORE
+    {
+    version = 1;
+    display_name = "Bookmarks";
+    sync_types = KSmlSyncType_TwoWay + KSmlSyncType_OneWayFromSvr + KSmlSyncType_OneWayFromClnt + KSmlSyncType_SlowSync + KSmlSyncType_RefreshFromSvr + KSmlSyncType_RefreshFromClnt;
+    mime_format=
+        {
+        SML_MIME_FORMAT
+            {
+            version = 1;
+            mime_type = "text/x-vBookmark";
+            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
+    }