phonebookui/Phonebook2/UIControls/inc/Pbk2UIFieldProperty.rh
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2005-2007 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 "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".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Phonebook 2 contact editor dialog UI field property.
       
    15 *
       
    16 */
       
    17 
       
    18 /**
       
    19  * Phonebook 2 UI field property resource structure.
       
    20  */
       
    21 STRUCT PHONEBOOK2_UI_FIELD_PROPERTY
       
    22     {
       
    23     /// Version number
       
    24     BYTE version = 0;
       
    25 
       
    26     /// Maximum number of fields per contact.
       
    27     /// @see TPbk2FieldMultiplicity
       
    28     BYTE multiplicity;
       
    29 
       
    30     /// Maximum length of the field (in characters).
       
    31     WORD maxLength;
       
    32 
       
    33     /// Editing mode of the field.
       
    34     /// @see TPbk2FieldEditMode
       
    35     BYTE editMode;
       
    36     
       
    37     /// Fields order.
       
    38     /// @see TPbk2FieldOrder
       
    39     BYTE order;
       
    40 
       
    41     /// Default case of the field.
       
    42     /// @see TPbk2FieldDefaultCase
       
    43     BYTE defaultCase;
       
    44 
       
    45     /// Specifies the icon for the field.
       
    46     /// @see PHONEBOOK2_ICON_ID
       
    47     STRUCT iconId;
       
    48 
       
    49     /// Edit dialog control type for the field.
       
    50     /// @see TFormControlTypes
       
    51     BYTE ctrlType;
       
    52 
       
    53     /// Assorted flags for this field type.
       
    54     /// @see Pbk2UIFieldProperty.hrh
       
    55     LONG flags;
       
    56 
       
    57     /// Default label for the field.
       
    58     LTEXT defaultLabel = "";
       
    59     }
       
    60 
       
    61 /**
       
    62  * Array of UI field property items.
       
    63  * @see PHONEBOOK2_UI_FIELD_PROPERTY
       
    64  */
       
    65 STRUCT PHONEBOOK2_UI_FIELD_PROPERTY_ARRAY
       
    66     {
       
    67     /// Array of PHONEBOOK2_UI_FIELD_PROPERTYs.
       
    68     STRUCT items[];
       
    69     }
       
    70 
       
    71 
       
    72 
       
    73 // End of File