phonebookui/Phonebook2/USIMExtension/inc/Pbk2USimUI.rh
changeset 0 e686773b3f54
child 21 9da50d567e3c
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2002-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:  USIM extension specific resource definitions
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef PBK2USIMUI_RH
       
    20 #define PBK2USIMUI_RH
       
    21 
       
    22 
       
    23 //  INCLUDES
       
    24 #include <VPbkFieldType.rh>
       
    25 #include "Pbk2USimUI.hrh"
       
    26 
       
    27 //  MACROS  
       
    28 
       
    29 //  STRUCTURE DEFINITIONS
       
    30 
       
    31 // -----------------------------------------------------------------------------
       
    32 // PSU2_COPY_TO_SIM_FIELDTYPE_MAPPINGS
       
    33 // -----------------------------------------------------------------------------
       
    34 //
       
    35 STRUCT PSU2_COPY_TO_SIM_FIELDTYPE_MAPPINGS
       
    36     {
       
    37     /// An array of PSU2_COPY_TO_SIM_FIELDTYPE_MAPPING
       
    38     STRUCT items[];
       
    39     }
       
    40     
       
    41 // -----------------------------------------------------------------------------
       
    42 // PSU2_COPY_TO_SIM_FIELDTYPE_MAPPING
       
    43 // A structure for mapping a source contact field types 
       
    44 // to SIM contact field types.
       
    45 // This is a multiple to 1 mapping.
       
    46 // -----------------------------------------------------------------------------
       
    47 //
       
    48 STRUCT PSU2_COPY_TO_SIM_FIELDTYPE_MAPPING
       
    49     {
       
    50     // VPBK_FIELD_TYPE_SELECTOR that defines the fields that are mapped from
       
    51     STRUCT sourceTypeSelector;
       
    52     // The SIM field type resource id, from VPbkEng.rsg
       
    53     LONG targetSimType;
       
    54     // Flags defined in Pbk2UsimUi.hrh
       
    55     BYTE flags = 0;
       
    56     /// One of the values in TPsu2ErrorCode/Pbk2UsimUi.hrh
       
    57     BYTE iBlockingError = KPsu2NoError;
       
    58     }
       
    59 
       
    60 #endif      // PBK2USIMUI_RH
       
    61             
       
    62 // End of File