diff -r 666f914201fb -r 2fe1408b6811 epoc32/include/app/messagingsdkcrkeys.h --- a/epoc32/include/app/messagingsdkcrkeys.h Tue Nov 24 13:55:44 2009 +0000 +++ b/epoc32/include/app/messagingsdkcrkeys.h Tue Mar 16 16:12:26 2010 +0000 @@ -1,1 +1,67 @@ -messagingsdkcrkeys.h +/* +* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members +* which accompanies this distribution, and is available +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Central repository keys and repository identifiers for the S60 +* Messaging UI components +* +*/ + + + +#ifndef MESSAGINGSDKCRKEYS_H +#define MESSAGINGSDKCRKEYS_H + +// INCLUDES +#include + +/** + * This is a READ-ONLY API to get information about the Messaging UI + * settings. + * + * How to use: + * + * @code + * #include + * #include + * + * CRepository* cr = CRepository::NewLC( KCRUidMessagingUiSettings ); + * TInt value; + * + * // Get the current zoom level of messaging editors: + * User::LeaveIfError( cr->Get( KMessagingEditorLocalUiZoom, value ) ); + * // use value + * + * CleanupStack::PopAndDestroy( cr ); + * @endcode + */ + +/** + * The UID of the Central Repository file containing the settings. Should be + * given as a parameter in CRepository::NewL() call. + */ +const TUid KCRUidMessagingUiSettings = {0x102072E2}; + +/** + * Zoom level of the message editors (and viewers), integer value. + * + * Possible values (corresponding enumeration from "akndef.hrh" in parentheses): + * + * -1 = Automatic (EAknUiZoomAutomatic)
+ * 0 = Normal (EAknUiZoomNormal)
+ * 1 = Small (EAknUiZoomSmall)
+ * 2 = Large (EAknUiZoomLarge)
+ */ +const TUint32 KMessagingEditorLocalUiZoom = 0x00000001; + + +#endif // MESSAGINGSDKCRKEYS_H \ No newline at end of file