contacts_plat/contacts_ui_api/inc/cntuids.h
branchRCL_3
changeset 62 5b6f26637ad3
equal deleted inserted replaced
58:d4f567ce2e7c 62:5b6f26637ad3
       
     1 /*
       
     2  * Copyright (c) 2009 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  *
       
    16  */
       
    17 
       
    18 #ifndef CNTUIDS_H
       
    19 #define CNTUIDS_H
       
    20 
       
    21 #include <e32def.h>
       
    22 #include <e32cmn.h>
       
    23 
       
    24 /*
       
    25 *   Contacts application's central repository Uid used for global settings
       
    26 */
       
    27 const TUid KCRCntSettings = {0x2002FF54};
       
    28 
       
    29 /*
       
    30 *   Key value used to store the name ordering setting i.e
       
    31 *   FirstName LastName, LastName FirstName etc
       
    32 */
       
    33 const TUint32 KCntNameOrdering = 0x00000001;
       
    34 
       
    35 /*
       
    36 *   Key value used to store the setting how each row is presented
       
    37 *   in the names list: one row with a name, 2 rows with a name in the 
       
    38 *   first row and phone number in the second, etc.
       
    39 */
       
    40 const TUint32 KCntNameListRowSetting = 0x00000002;
       
    41 
       
    42 // name order enumerations
       
    43 enum CntNameOrder {
       
    44     CntOrderLastFirst = 0x0,
       
    45     CntOrderLastCommaFirst = 0x1,
       
    46     CntOrderFirstLast = 0x2
       
    47 };
       
    48 
       
    49 // name list row enumerations
       
    50 enum CntNameListRowSetting {
       
    51     CntOneRowNameOnly = 0x0,
       
    52     CntTwoRowsNameAndPhoneNumber = 0x1
       
    53 };
       
    54 
       
    55 
       
    56 #endif