williamr@2: /* williamr@2: * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). williamr@2: * All rights reserved. williamr@2: * This component and the accompanying materials are made available williamr@2: * 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: * which accompanies this distribution, and is available williamr@2: * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". williamr@2: * williamr@2: * Initial Contributors: williamr@2: * Nokia Corporation - initial contribution. williamr@2: * williamr@2: * Contributors: williamr@2: * williamr@2: * Description: Resource file format for filters williamr@2: * williamr@2: */ williamr@2: williamr@2: williamr@2: STRUCT SYNCML_FILTER_PROPERTY williamr@2: { williamr@2: BYTE version=1; williamr@2: LTEXT name; // Name williamr@2: LONG datatype_default_values; // Datatypes - from hrh file williamr@2: LONG datatype_query_value; // Datatypes - from hrh file williamr@2: WORD max_text_length; // Max text length to strings williamr@2: LTEXT text_16_default_values[]; // Default values for text16 datatype williamr@2: LTEXT8 text_8_default_values[]; // Default values for text8 datatype williamr@2: WORD int_or_bool_default_values[]; // Default values for integer or boolean datatype williamr@2: LTEXT time_default_values[]; // Default values for date datatype williamr@2: BYTE default_values_selection[]; // Boolean fof every default value - defines if default value is selected or not by default williamr@2: 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: 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: 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: 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: BYTE query_value_selected_by_default; // Defines if query value is selected by default williamr@2: BYTE can_use_query_value; // Defines if query value can be used with this property williamr@2: BYTE supports_multiple_selection; // Defines if many values can be selected same time williamr@2: BYTE supports_empty_selection; // Defines if selection can be leaved empty or not williamr@2: } williamr@2: williamr@2: STRUCT SYNCML_FILTER williamr@2: { williamr@2: BYTE version = 1; williamr@2: WORD filter_id; // Filter ID williamr@2: LTEXT display_name; // Display name williamr@2: LTEXT display_description; // Display description williamr@2: BYTE enabled_by_default; // Defines if filter is enable or not by default williamr@2: BYTE supported_by_server_by_default; // Defines if filter is supported by remote server by default williamr@2: BYTE match_type_supported_by_default; // Defines if match type selection affects to filter by default williamr@2: STRUCT filter_properties[]; // Structure for Properties - SYNCML_FILTER_PROPERTY williamr@2: } williamr@2: williamr@2: williamr@2: williamr@2: williamr@2: williamr@2: