epoc32/include/SyncMLDataFilter.rh
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
child 4 837f303aceeb
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     1 /*
     2 * Copyright (c) 2005 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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description:  Resource file format for filters
    15 *
    16 */
    17 
    18 
    19 STRUCT SYNCML_FILTER_PROPERTY
    20 	{
    21 	BYTE	version=1;
    22 	LTEXT	name;					// Name
    23 	LONG	datatype_default_values;		// Datatypes - from hrh file
    24 	LONG	datatype_query_value;			// Datatypes - from hrh file
    25 	WORD	max_text_length;			// Max text length to strings
    26 	LTEXT	text_16_default_values[];		// Default values for text16 datatype
    27 	LTEXT8	text_8_default_values[];		// Default values for text8 datatype
    28 	WORD	int_or_bool_default_values[];		// Default values for integer or boolean datatype
    29 	LTEXT	time_default_values[];			// Default values for date datatype
    30 	BYTE	default_values_selection[];		// Boolean fof every default value - defines if default value is selected or not by default
    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
    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
    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
    34 	LTEXT	time_default_query_value;		// If query is selected or query can be used then default value is defined here to time datatype
    35 	BYTE	query_value_selected_by_default;	// Defines if query value is selected by default
    36 	BYTE	can_use_query_value;			// Defines if query value can be used with this property
    37 	BYTE	supports_multiple_selection;		// Defines if many values can be selected same time
    38 	BYTE	supports_empty_selection;		// Defines if selection can be leaved empty or not
    39 	}
    40 
    41 STRUCT SYNCML_FILTER
    42 	{
    43 	BYTE	version = 1;
    44 	WORD	filter_id;				// Filter ID
    45 	LTEXT	display_name;				// Display name
    46 	LTEXT	display_description;			// Display description
    47 	BYTE	enabled_by_default;			// Defines if filter is enable or not by default
    48 	BYTE	supported_by_server_by_default;		// Defines if filter is supported by remote server by default
    49 	BYTE	match_type_supported_by_default;	// Defines if match type selection affects to filter by default
    50 	STRUCT	filter_properties[];			// Structure for Properties - SYNCML_FILTER_PROPERTY
    51 	}
    52 
    53 
    54 
    55 
    56 
    57