2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Central repository keys and repository identifiers for the S60
15 * Messaging UI components
21 #ifndef MESSAGINGSDKCRKEYS_H
22 #define MESSAGINGSDKCRKEYS_H
28 * This is a READ-ONLY API to get information about the Messaging UI
34 * #include <centralrepository.h>
35 * #include <MessagingSDKCRKeys.h>
37 * CRepository* cr = CRepository::NewLC( KCRUidMessagingUiSettings );
40 * // Get the current zoom level of messaging editors:
41 * User::LeaveIfError( cr->Get( KMessagingEditorLocalUiZoom, value ) );
44 * CleanupStack::PopAndDestroy( cr );
49 * The UID of the Central Repository file containing the settings. Should be
50 * given as a parameter in CRepository::NewL() call.
52 const TUid KCRUidMessagingUiSettings = {0x102072E2};
55 * Zoom level of the message editors (and viewers), integer value.
57 * Possible values (corresponding enumeration from "akndef.hrh" in parentheses):
59 * -1 = Automatic (EAknUiZoomAutomatic)<br>
60 * 0 = Normal (EAknUiZoomNormal)<br>
61 * 1 = Small (EAknUiZoomSmall)<br>
62 * 2 = Large (EAknUiZoomLarge)<br>
64 const TUint32 KMessagingEditorLocalUiZoom = 0x00000001;
67 #endif // MESSAGINGSDKCRKEYS_H