1.1 --- a/epoc32/include/app/messagingsdkcrkeys.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/app/messagingsdkcrkeys.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,67 @@
1.4 -messagingsdkcrkeys.h
1.5 +/*
1.6 +* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
1.7 +* All rights reserved.
1.8 +* This component and the accompanying materials are made available
1.9 +* 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
1.10 +* which accompanies this distribution, and is available
1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.12 +*
1.13 +* Initial Contributors:
1.14 +* Nokia Corporation - initial contribution.
1.15 +*
1.16 +* Contributors:
1.17 +*
1.18 +* Description: Central repository keys and repository identifiers for the S60
1.19 +* Messaging UI components
1.20 +*
1.21 +*/
1.22 +
1.23 +
1.24 +
1.25 +#ifndef MESSAGINGSDKCRKEYS_H
1.26 +#define MESSAGINGSDKCRKEYS_H
1.27 +
1.28 +// INCLUDES
1.29 +#include <e32std.h>
1.30 +
1.31 +/**
1.32 + * This is a READ-ONLY API to get information about the Messaging UI
1.33 + * settings.
1.34 + *
1.35 + * How to use:
1.36 + *
1.37 + * @code
1.38 + * #include <centralrepository.h>
1.39 + * #include <MessagingSDKCRKeys.h>
1.40 + *
1.41 + * CRepository* cr = CRepository::NewLC( KCRUidMessagingUiSettings );
1.42 + * TInt value;
1.43 + *
1.44 + * // Get the current zoom level of messaging editors:
1.45 + * User::LeaveIfError( cr->Get( KMessagingEditorLocalUiZoom, value ) );
1.46 + * // use value
1.47 + *
1.48 + * CleanupStack::PopAndDestroy( cr );
1.49 + * @endcode
1.50 + */
1.51 +
1.52 +/**
1.53 + * The UID of the Central Repository file containing the settings. Should be
1.54 + * given as a parameter in CRepository::NewL() call.
1.55 + */
1.56 +const TUid KCRUidMessagingUiSettings = {0x102072E2};
1.57 +
1.58 +/**
1.59 + * Zoom level of the message editors (and viewers), integer value.
1.60 + *
1.61 + * Possible values (corresponding enumeration from "akndef.hrh" in parentheses):
1.62 + *
1.63 + * -1 = Automatic (EAknUiZoomAutomatic)<br>
1.64 + * 0 = Normal (EAknUiZoomNormal)<br>
1.65 + * 1 = Small (EAknUiZoomSmall)<br>
1.66 + * 2 = Large (EAknUiZoomLarge)<br>
1.67 + */
1.68 +const TUint32 KMessagingEditorLocalUiZoom = 0x00000001;
1.69 +
1.70 +
1.71 +#endif // MESSAGINGSDKCRKEYS_H
1.72 \ No newline at end of file