phonebookui/Phonebook/BCardEng/rss/BCardEng.rh
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2002 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: 
       
    15 *      Phonebook business Card .rh file
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef _BCARDENG_RH
       
    21 #define _BCARDENG_RH
       
    22 
       
    23 STRUCT BCARD_NAMELIST
       
    24 	{
       
    25 	LTEXT items[];
       
    26 	}
       
    27 
       
    28 STRUCT BCARD_IMPORT_PROPCMD
       
    29 	{
       
    30 	BYTE Name;
       
    31 	BYTE Type = EVersitPropTypeNormal;
       
    32 	BYTE DestField = EPbkFieldIdNone;
       
    33 	BYTE DestField2 = EPbkFieldIdNone;
       
    34 	BYTE FirstSubField = 0;
       
    35 	BYTE NumOfSubFields = 0;
       
    36 	BYTE Continue = 0;
       
    37 	BYTE CanOverwrite = 0;
       
    38 	STRUCT Cmds[];
       
    39 	}
       
    40 
       
    41 STRUCT BCARD_IMPORT_PARAMCMD
       
    42 	{
       
    43 	BYTE PropParam = EVersitParamNone;
       
    44 	BYTE DestField;
       
    45 	}
       
    46 
       
    47 STRUCT BCARD_CMDARRAY
       
    48     {
       
    49     STRUCT items[];
       
    50     }
       
    51 
       
    52 STRUCT BCARD_EXPORT_PROPCMD
       
    53 	{
       
    54 	BYTE PropName;
       
    55 	BYTE Parameter = EVersitParamNone;
       
    56 	BYTE Type = EVersitPropTypeNormal;
       
    57 	BYTE Field = EPbkFieldIdNone;
       
    58 	BYTE SecondField = EPbkFieldIdNone;
       
    59 	}
       
    60 
       
    61 /**
       
    62  * A Name <-> Uid mapping.
       
    63  */
       
    64 STRUCT BCARD_UID_MAPPING
       
    65     {
       
    66     LTEXT name;
       
    67     LONG  index = 0;
       
    68     LONG  uid;
       
    69     }
       
    70 
       
    71 /**
       
    72  * Collection of Name <-> Uid mappings.
       
    73  */
       
    74 STRUCT BCARD_UID_MAPPINGS
       
    75     {
       
    76     STRUCT items[];
       
    77     }
       
    78 
       
    79 /**
       
    80  * Collection of property definitions for exporting
       
    81  * a contact to a vCard.
       
    82  */
       
    83 STRUCT BCARD_EXPORT_VCARD
       
    84     {
       
    85     STRUCT items[];
       
    86     }
       
    87 
       
    88 /**
       
    89  * Definition for a single exportable vCard property.
       
    90  * It is a collection of 1..* PhoneBook
       
    91  * fields (represented by FieldId & Location)
       
    92  */
       
    93 STRUCT BCARD_EXPORT_PROPERTY
       
    94     {
       
    95     LTEXT   Name;
       
    96     BYTE    VersitStorageType;
       
    97     STRUCT  FieldInfos[];
       
    98     }
       
    99 /**
       
   100  * Definition for a single CPbkFieldInfo which belongs to 
       
   101  * an exportable vCard property
       
   102  */
       
   103 STRUCT BCARD_EXPORT_FIELDINFO
       
   104     {
       
   105     BYTE    Id;
       
   106     BYTE    Location;    
       
   107     }
       
   108 
       
   109 #endif
       
   110 
       
   111 // End of File