williamr@2
|
1 |
/*
|
williamr@2
|
2 |
* Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
|
williamr@2
|
3 |
* All rights reserved.
|
williamr@2
|
4 |
* This component and the accompanying materials are made available
|
williamr@2
|
5 |
* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
|
williamr@2
|
6 |
* which accompanies this distribution, and is available
|
williamr@2
|
7 |
* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
|
williamr@2
|
8 |
*
|
williamr@2
|
9 |
* Initial Contributors:
|
williamr@2
|
10 |
* Nokia Corporation - initial contribution.
|
williamr@2
|
11 |
*
|
williamr@2
|
12 |
* Contributors:
|
williamr@2
|
13 |
*
|
williamr@2
|
14 |
* Description: Resource file format for filters
|
williamr@2
|
15 |
*
|
williamr@2
|
16 |
*/
|
williamr@2
|
17 |
|
williamr@2
|
18 |
|
williamr@2
|
19 |
STRUCT SYNCML_FILTER_PROPERTY
|
williamr@2
|
20 |
{
|
williamr@2
|
21 |
BYTE version=1;
|
williamr@2
|
22 |
LTEXT name; // Name
|
williamr@2
|
23 |
LONG datatype_default_values; // Datatypes - from hrh file
|
williamr@2
|
24 |
LONG datatype_query_value; // Datatypes - from hrh file
|
williamr@2
|
25 |
WORD max_text_length; // Max text length to strings
|
williamr@2
|
26 |
LTEXT text_16_default_values[]; // Default values for text16 datatype
|
williamr@2
|
27 |
LTEXT8 text_8_default_values[]; // Default values for text8 datatype
|
williamr@2
|
28 |
WORD int_or_bool_default_values[]; // Default values for integer or boolean datatype
|
williamr@2
|
29 |
LTEXT time_default_values[]; // Default values for date datatype
|
williamr@2
|
30 |
BYTE default_values_selection[]; // Boolean fof every default value - defines if default value is selected or not by default
|
williamr@2
|
31 |
LTEXT text_16_default_query_value; // If query is selected or query can be used then default value is defined here to text16 datatype
|
williamr@2
|
32 |
LTEXT8 text_8_default_query_value; // If query is selected or query can be used then default value is defined here to text8 datatype
|
williamr@2
|
33 |
WORD int_or_bool_default_query_Value; // If query is selected or query can be used then default value is defined here to boolean or integer datatype
|
williamr@2
|
34 |
LTEXT time_default_query_value; // If query is selected or query can be used then default value is defined here to time datatype
|
williamr@2
|
35 |
BYTE query_value_selected_by_default; // Defines if query value is selected by default
|
williamr@2
|
36 |
BYTE can_use_query_value; // Defines if query value can be used with this property
|
williamr@2
|
37 |
BYTE supports_multiple_selection; // Defines if many values can be selected same time
|
williamr@2
|
38 |
BYTE supports_empty_selection; // Defines if selection can be leaved empty or not
|
williamr@2
|
39 |
}
|
williamr@2
|
40 |
|
williamr@2
|
41 |
STRUCT SYNCML_FILTER
|
williamr@2
|
42 |
{
|
williamr@2
|
43 |
BYTE version = 1;
|
williamr@2
|
44 |
WORD filter_id; // Filter ID
|
williamr@2
|
45 |
LTEXT display_name; // Display name
|
williamr@2
|
46 |
LTEXT display_description; // Display description
|
williamr@2
|
47 |
BYTE enabled_by_default; // Defines if filter is enable or not by default
|
williamr@2
|
48 |
BYTE supported_by_server_by_default; // Defines if filter is supported by remote server by default
|
williamr@2
|
49 |
BYTE match_type_supported_by_default; // Defines if match type selection affects to filter by default
|
williamr@2
|
50 |
STRUCT filter_properties[]; // Structure for Properties - SYNCML_FILTER_PROPERTY
|
williamr@2
|
51 |
}
|
williamr@2
|
52 |
|
williamr@2
|
53 |
|
williamr@2
|
54 |
|
williamr@2
|
55 |
|
williamr@2
|
56 |
|
williamr@2
|
57 |
|