diff -r e1b950c65cb4 -r 837f303aceeb epoc32/include/hwrmvibrasdkcrkeys.h --- a/epoc32/include/hwrmvibrasdkcrkeys.h Wed Mar 31 12:27:01 2010 +0100 +++ b/epoc32/include/hwrmvibrasdkcrkeys.h Wed Mar 31 12:33:34 2010 +0100 @@ -1,59 +1,65 @@ /* -* Copyright (c) 2002-2007 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2006-2009 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 +* under the terms of "Eclipse Public License v1.0" * which accompanies this distribution, and is available -* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". +* at the URL "http://www.eclipse.org/legal/epl-v10.html". * * Initial Contributors: * Nokia Corporation - initial contribution. * * Contributors: * -* Description: This file contains SDK central repository key definitions -* for the vibra +* Description: +* The API provides the vibra related Central Repository keys. +* These keys provide information on the vibra setting controlled by +* profiles, maximum vibrating time supported by the device and +* minimum time vibra cannot be started after it was forcibly +* turned off when maximum time was reached. In addition keys +* provide tactile feedback setting controlled by profiles and +* default intensity and duration for feedback vibration. +* This interface relies on the Central Repository (CenRep) interface provided +* by Symbian. +* The CenRep UID is KCRUidVibraCtrl and following keys are provided: +* - KVibraCtrlProfileVibraEnabled +* - KVibraCtrlMaxTime +* - KVibraMinOffTime * */ + + +/** + @file + @publishedAll + @released +*/ + #ifndef HWRMVIBRASDKCRKEYS_H #define HWRMVIBRASDKCRKEYS_H #include -/** -* @file hwrmvibrasdkcrkeys.h -* -* The API provides the vibra related Centrl Repository keys. -* These keys provide information on the vibra setting controlled by -* Profiles, maximum vibrating time supported by the device and -* minimum time vibra cannot be started after it was forcibly -* turned off when maximum time was reached. In addition keys -* provide tactile feedback setting controlled by profiles and -* default intensity and duration for feedback vibration. -* -* This interface relies on the Central Repository (CenRep) interface provided -* by Symbian. -* -* The CenRep UID is #KCRUidVibraCtrl and following keys are provided: -* - #KVibraCtrlProfileVibraEnabled -* - #KVibraCtrlMaxTime -* - #KVibraMinOffTime -*/ - /** * CenRep UID for all vibra related settings keys provided by this API. +* +* @publishedAll +* @released */ const TUid KCRUidVibraCtrl = {0x10200C8B}; /** -* Vibra setting controlled by Profiles. +* Vibra setting controlled by profiles. * * Possible integer values: * * 0 = Vibra is off in profile (default value)
* 1 = Vibra is on in profile
+* +* @publishedAll +* @released */ const TUint32 KVibraCtrlProfileVibraEnabled = 0x00000001; @@ -67,6 +73,9 @@ * Value is read-only. * * Default value: 10000. +* +* @publishedAll +* @released */ const TUint32 KVibraCtrlMaxTime = 0x00000002; @@ -81,6 +90,9 @@ * Value is read-only. * * Default value: 0 +* +* @publishedAll +* @released */ const TUint32 KVibraMinOffTime = 0x00000003; @@ -91,6 +103,9 @@ * * 0 = Tactile feedback is off in profile (default value)
* 1 = Tactile feedback is on in profile
+* +* @publishedAll +* @released */ const TUint32 KVibraCtrlProfileFeedbackEnabled = 0x00000004; @@ -102,6 +117,9 @@ * Value is read-only. * * Default value: 100 +* +* @publishedAll +* @released */ const TUint32 KVibraCtrlFeedbackIntensity = 0x00000005; @@ -113,10 +131,14 @@ * Value is read-only. * * Default value: 20 +* +* @publishedAll +* @released */ const TUint32 KVibraCtrlFeedbackDuration = 0x00000006; + #endif // HWRMVIBRASDKCRKEYS_H // End of File