author | William Roberts <williamr@symbian.org> |
Wed, 31 Mar 2010 12:33:34 +0100 | |
branch | Symbian3 |
changeset 4 | 837f303aceeb |
permissions | -rw-r--r-- |
williamr@4 | 1 |
/* |
williamr@4 | 2 |
* Copyright (c) 2004-2007 Nokia Corporation and/or its subsidiary(-ies). |
williamr@4 | 3 |
* All rights reserved. |
williamr@4 | 4 |
* This component and the accompanying materials are made available |
williamr@4 | 5 |
* under the terms of "Eclipse Public License v1.0" |
williamr@4 | 6 |
* which accompanies this distribution, and is available |
williamr@4 | 7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
williamr@4 | 8 |
* |
williamr@4 | 9 |
* Initial Contributors: |
williamr@4 | 10 |
* Nokia Corporation - initial contribution. |
williamr@4 | 11 |
* |
williamr@4 | 12 |
* Contributors: |
williamr@4 | 13 |
* |
williamr@4 | 14 |
* Description: Field types resource structures. |
williamr@4 | 15 |
* |
williamr@4 | 16 |
*/ |
williamr@4 | 17 |
|
williamr@4 | 18 |
|
williamr@4 | 19 |
#ifndef VPBKFIELDTYPE_RH |
williamr@4 | 20 |
#define VPBKFIELDTYPE_RH |
williamr@4 | 21 |
|
williamr@4 | 22 |
#include <VPbkFieldType.hrh> |
williamr@4 | 23 |
|
williamr@4 | 24 |
/** |
williamr@4 | 25 |
* Resource structure for a Virtual Phonebook field basic Versit property. |
williamr@4 | 26 |
*/ |
williamr@4 | 27 |
STRUCT VBK_FIELD_VERSIT_PROPERTY |
williamr@4 | 28 |
{ |
williamr@4 | 29 |
/** |
williamr@4 | 30 |
* Versit property name. One of the TVPbkFieldTypeName in vpbkfieldtype.hrh. |
williamr@4 | 31 |
* @see TVPbkFieldVersitProperty::iName |
williamr@4 | 32 |
*/ |
williamr@4 | 33 |
BYTE name = EVPbkVersitNameNone; |
williamr@4 | 34 |
|
williamr@4 | 35 |
/** |
williamr@4 | 36 |
* Versit subfield. One of the TVPbkSubFieldType in vpbkfieldtype.hrh. |
williamr@4 | 37 |
* @see TVPbkFieldVersitProperty::iSubField |
williamr@4 | 38 |
*/ |
williamr@4 | 39 |
BYTE subField = EVPbkVersitSubFieldNone; |
williamr@4 | 40 |
|
williamr@4 | 41 |
/** |
williamr@4 | 42 |
* Versit parameters. An array of TVPbkFieldTypeParameter in |
williamr@4 | 43 |
* vpbkfieldtype.hrh. |
williamr@4 | 44 |
* @see TVPbkFieldVersitProperty::iParameters |
williamr@4 | 45 |
*/ |
williamr@4 | 46 |
LEN BYTE BYTE parameters[]; |
williamr@4 | 47 |
|
williamr@4 | 48 |
/** |
williamr@4 | 49 |
* Name of a versit extension property. |
williamr@4 | 50 |
* @see TVPbkFieldVersitProperty::iExtensionName |
williamr@4 | 51 |
*/ |
williamr@4 | 52 |
LTEXT8 extensionName; |
williamr@4 | 53 |
} |
williamr@4 | 54 |
|
williamr@4 | 55 |
/** |
williamr@4 | 56 |
* Resource structure for Virtual Phonebook field type parameters. |
williamr@4 | 57 |
* @see enum TVPbkFieldTypeParameter |
williamr@4 | 58 |
* @see VPbkFieldType.hrh |
williamr@4 | 59 |
*/ |
williamr@4 | 60 |
STRUCT VPBK_FIELD_TYPE_PARAMS |
williamr@4 | 61 |
{ |
williamr@4 | 62 |
LEN BYTE BYTE parameters[]; |
williamr@4 | 63 |
} |
williamr@4 | 64 |
|
williamr@4 | 65 |
/** |
williamr@4 | 66 |
* Resource structure for Virtual Phonebook field type mapping. |
williamr@4 | 67 |
* @see TVPbkFieldTypeMapping |
williamr@4 | 68 |
*/ |
williamr@4 | 69 |
STRUCT VPBK_FIELD_TYPE_MAPPING |
williamr@4 | 70 |
{ |
williamr@4 | 71 |
/** |
williamr@4 | 72 |
* Versit property for this field type mapping. |
williamr@4 | 73 |
* |
williamr@4 | 74 |
* @see VBK_FIELD_VERSIT_PROPERTY |
williamr@4 | 75 |
*/ |
williamr@4 | 76 |
STRUCT versitProperty; |
williamr@4 | 77 |
|
williamr@4 | 78 |
/** |
williamr@4 | 79 |
* Non-versit type for this field type mapping. |
williamr@4 | 80 |
* |
williamr@4 | 81 |
* @see TVPbkNonVersitFieldType in vpbkfieldtype.hrh. |
williamr@4 | 82 |
*/ |
williamr@4 | 83 |
BYTE nonVersitType = EVPbkNonVersitTypeNone; |
williamr@4 | 84 |
} |
williamr@4 | 85 |
|
williamr@4 | 86 |
/** |
williamr@4 | 87 |
* Resource structure for a collection of Virtual Phonebook field type mappings. |
williamr@4 | 88 |
* @see class CVPbkSortOrder |
williamr@4 | 89 |
*/ |
williamr@4 | 90 |
STRUCT VPBK_FIELD_TYPE_MAPPING_LIST |
williamr@4 | 91 |
{ |
williamr@4 | 92 |
/** |
williamr@4 | 93 |
* Array of VPBK_FIELD_TYPE_MAPPING structures |
williamr@4 | 94 |
*/ |
williamr@4 | 95 |
STRUCT items[]; |
williamr@4 | 96 |
} |
williamr@4 | 97 |
|
williamr@4 | 98 |
/** |
williamr@4 | 99 |
* Resource structure for Virtual Phonebook field type selector. |
williamr@4 | 100 |
* @see CVPbkFieldTypeSelector |
williamr@4 | 101 |
*/ |
williamr@4 | 102 |
STRUCT VPBK_FIELD_TYPE_SELECTOR |
williamr@4 | 103 |
{ |
williamr@4 | 104 |
/** |
williamr@4 | 105 |
* The version of this field type selector. Defined by Virtual Phonebook. |
williamr@4 | 106 |
*/ |
williamr@4 | 107 |
BYTE version = EVPbkFieldTypeSelectorV2; |
williamr@4 | 108 |
|
williamr@4 | 109 |
/** |
williamr@4 | 110 |
* Included versit properties for this field type selector. |
williamr@4 | 111 |
* |
williamr@4 | 112 |
* @see VBK_FIELD_VERSIT_PROPERTY |
williamr@4 | 113 |
*/ |
williamr@4 | 114 |
STRUCT versitProperties[]; |
williamr@4 | 115 |
|
williamr@4 | 116 |
/** |
williamr@4 | 117 |
* Included non-versit types for this field type selector. |
williamr@4 | 118 |
* |
williamr@4 | 119 |
* @see TVPbkNonVersitFieldType in vpbkfieldtype.hrh. |
williamr@4 | 120 |
*/ |
williamr@4 | 121 |
BYTE nonVersitType[]; |
williamr@4 | 122 |
|
williamr@4 | 123 |
/** |
williamr@4 | 124 |
* Excluded Type parameters. When a Versit property is matched against this |
williamr@4 | 125 |
* field type it is considered a match only if it doesn't contain any of the |
williamr@4 | 126 |
* excluded parameters. |
williamr@4 | 127 |
* |
williamr@4 | 128 |
* @see TVPbkFieldTypeParameter |
williamr@4 | 129 |
* @see MVPbkFieldType::ExcludedParameters() |
williamr@4 | 130 |
*/ |
williamr@4 | 131 |
LEN BYTE BYTE excludedParameters[]; |
williamr@4 | 132 |
} |
williamr@4 | 133 |
|
williamr@4 | 134 |
#endif // VPBKFIELDTYPE_RH |
williamr@4 | 135 |
//End of file |
williamr@4 | 136 |