40
|
1 |
/*
|
|
2 |
* Copyright (c) 2008-2010 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 ContactsGroup DS Plug In Adapter
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
#include <SmlDataFormat.rh>
|
|
20 |
#include <SmlDataFormat.hrh>
|
|
21 |
|
|
22 |
RESOURCE SML_DATA_STORE_FORMAT CONTACTSGROUP_DATA_STORE
|
|
23 |
{
|
|
24 |
version = 1;
|
|
25 |
display_name = "Gallery";
|
|
26 |
sync_types = KSmlSyncType_TwoWay
|
|
27 |
+ KSmlSyncType_OneWayFromSvr
|
|
28 |
+ KSmlSyncType_OneWayFromClnt
|
|
29 |
+ KSmlSyncType_SlowSync
|
|
30 |
+ KSmlSyncType_RefreshFromSvr
|
|
31 |
+ KSmlSyncType_RefreshFromClnt;
|
|
32 |
mime_format=
|
|
33 |
{
|
|
34 |
SML_MIME_FORMAT
|
|
35 |
{
|
|
36 |
version = 1;
|
|
37 |
mime_type = "text/x-vCard";
|
|
38 |
mime_ver = "2.1";
|
|
39 |
properties=
|
|
40 |
{
|
|
41 |
SML_DATA_PROPERTY
|
|
42 |
{
|
|
43 |
version = 1;
|
|
44 |
display_name = "Read";
|
|
45 |
name = "read";
|
|
46 |
data_type = "bool";
|
|
47 |
enum_values = {};
|
|
48 |
flags = 0;
|
|
49 |
max_size = 0;
|
|
50 |
max_occur = 1;
|
|
51 |
params = {};
|
|
52 |
}
|
|
53 |
};
|
|
54 |
field_level = 0;
|
|
55 |
}
|
|
56 |
};
|
|
57 |
mime_format_tx_pref = 0; // Preferred index for tx
|
|
58 |
mime_format_rx_pref = 0; // Preferred index for rx
|
|
59 |
folder_properties = {}; // No folder properties
|
|
60 |
filter_capabilities = {}; // No filter capabilities
|
|
61 |
max_size = 0; // No limit
|
|
62 |
max_items = 0; // No limit
|
|
63 |
flags = 0x00000010; // Hierarchical sync supported
|
|
64 |
}
|