diff -r d4f567ce2e7c -r 5b6f26637ad3 contacts_plat/contacts_ui_api/inc/cntuids.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/contacts_plat/contacts_ui_api/inc/cntuids.h Tue Aug 31 15:05:21 2010 +0300 @@ -0,0 +1,56 @@ +/* + * 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 +#include + +/* +* 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