contacts_plat/contacts_ui_api/inc/cntuids.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 15:05:21 +0300
branchRCL_3
changeset 62 5b6f26637ad3
permissions -rw-r--r--
Revision: 201033 Kit: 201035

/*
 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
 * which accompanies this distribution, and is available
 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
 *
 * Initial Contributors:
 * Nokia Corporation - initial contribution.
 *
 * Contributors:
 *
 * Description:
 *
 */

#ifndef CNTUIDS_H
#define CNTUIDS_H

#include <e32def.h>
#include <e32cmn.h>

/*
*   Contacts application's central repository Uid used for global settings
*/
const TUid KCRCntSettings = {0x2002FF54};

/*
*   Key value used to store the name ordering setting i.e
*   FirstName LastName, LastName FirstName etc
*/
const TUint32 KCntNameOrdering = 0x00000001;

/*
*   Key value used to store the setting how each row is presented
*   in the names list: one row with a name, 2 rows with a name in the 
*   first row and phone number in the second, etc.
*/
const TUint32 KCntNameListRowSetting = 0x00000002;

// name order enumerations
enum CntNameOrder {
    CntOrderLastFirst = 0x0,
    CntOrderLastCommaFirst = 0x1,
    CntOrderFirstLast = 0x2
};

// name list row enumerations
enum CntNameListRowSetting {
    CntOneRowNameOnly = 0x0,
    CntTwoRowsNameAndPhoneNumber = 0x1
};


#endif