2 * Copyright (c) 2004-2007 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Field types resource structures.
19 #ifndef VPBKFIELDTYPE_RH
20 #define VPBKFIELDTYPE_RH
22 #include <VPbkFieldType.hrh>
25 * Resource structure for a Virtual Phonebook field basic Versit property.
27 STRUCT VBK_FIELD_VERSIT_PROPERTY
30 * Versit property name. One of the TVPbkFieldTypeName in vpbkfieldtype.hrh.
31 * @see TVPbkFieldVersitProperty::iName
33 BYTE name = EVPbkVersitNameNone;
36 * Versit subfield. One of the TVPbkSubFieldType in vpbkfieldtype.hrh.
37 * @see TVPbkFieldVersitProperty::iSubField
39 BYTE subField = EVPbkVersitSubFieldNone;
42 * Versit parameters. An array of TVPbkFieldTypeParameter in
44 * @see TVPbkFieldVersitProperty::iParameters
46 LEN BYTE BYTE parameters[];
49 * Name of a versit extension property.
50 * @see TVPbkFieldVersitProperty::iExtensionName
56 * Resource structure for Virtual Phonebook field type parameters.
57 * @see enum TVPbkFieldTypeParameter
58 * @see VPbkFieldType.hrh
60 STRUCT VPBK_FIELD_TYPE_PARAMS
62 LEN BYTE BYTE parameters[];
66 * Resource structure for Virtual Phonebook field type mapping.
67 * @see TVPbkFieldTypeMapping
69 STRUCT VPBK_FIELD_TYPE_MAPPING
72 * Versit property for this field type mapping.
74 * @see VBK_FIELD_VERSIT_PROPERTY
76 STRUCT versitProperty;
79 * Non-versit type for this field type mapping.
81 * @see TVPbkNonVersitFieldType in vpbkfieldtype.hrh.
83 BYTE nonVersitType = EVPbkNonVersitTypeNone;
87 * Resource structure for a collection of Virtual Phonebook field type mappings.
88 * @see class CVPbkSortOrder
90 STRUCT VPBK_FIELD_TYPE_MAPPING_LIST
93 * Array of VPBK_FIELD_TYPE_MAPPING structures
99 * Resource structure for Virtual Phonebook field type selector.
100 * @see CVPbkFieldTypeSelector
102 STRUCT VPBK_FIELD_TYPE_SELECTOR
105 * The version of this field type selector. Defined by Virtual Phonebook.
107 BYTE version = EVPbkFieldTypeSelectorV2;
110 * Included versit properties for this field type selector.
112 * @see VBK_FIELD_VERSIT_PROPERTY
114 STRUCT versitProperties[];
117 * Included non-versit types for this field type selector.
119 * @see TVPbkNonVersitFieldType in vpbkfieldtype.hrh.
121 BYTE nonVersitType[];
124 * Excluded Type parameters. When a Versit property is matched against this
125 * field type it is considered a match only if it doesn't contain any of the
126 * excluded parameters.
128 * @see TVPbkFieldTypeParameter
129 * @see MVPbkFieldType::ExcludedParameters()
131 LEN BYTE BYTE excludedParameters[];
134 #endif // VPBKFIELDTYPE_RH