tactilefeedback/tactilefeedbackresolver/inc/tactilefeedbackinternalpskeys.h
changeset 0 d54f32e146dd
equal deleted inserted replaced
-1:000000000000 0:d54f32e146dd
       
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     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".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Private Publish & Subscribe keys of Tactile Feedback
       
    15 *                subsystem
       
    16 * Part of:      Tactile Feedback.
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 
       
    22 #ifndef TACTILEFEEDBACKINTERNALPSKEYS_H
       
    23 #define TACTILEFEEDBACKINTERNALPSKEYS_H
       
    24 
       
    25 #include <e32property.h>
       
    26 
       
    27 /**
       
    28  * We are using the system category value, because it is below
       
    29  * KUidSecurityThresholdCategoryValue, and thus the property can be defined
       
    30  * from any process with WriteDeviceData -capability, regardless of 
       
    31  * whether the process' SID matches this category.
       
    32  */
       
    33 const TUid KPSUidTactileFeedback = { KUidSystemCategoryValue }; 
       
    34 
       
    35 /**
       
    36  * KTactileFeedbackEnabled
       
    37  * Can be used for temporarily disabling tactile feedback in whole
       
    38  * system. Should be used in situations such as a telephone call,
       
    39  * where tactile feedback can cause disturbing noice on the other
       
    40  * end of the telephone call.
       
    41  *
       
    42  * Writing to this property is protected by WriteDeviceData
       
    43  * capability.
       
    44  *
       
    45  * Audio- and vibra feedback can be disabled separately.
       
    46  * Vibra is controlled by bit 0 and audio by bit 1 in the key.
       
    47  *
       
    48  * The Id used is the UID of Tactile Feedback Resolver
       
    49  *
       
    50  * Possible values:
       
    51  * 0x00: Tactile feedback is currently disabled
       
    52  * 0x01: Tactile vibra feedback is enabled, audio disabled
       
    53  * 0x02: Tactile vibra feedback is disabled and audio enabled.
       
    54  * 0x03: Both Tactile vibra- and audio feedback are enabled. 
       
    55  */
       
    56 const TUint32 KTactileFeedbackEnabled = 0x2000B494;
       
    57 
       
    58 
       
    59 #endif // TACTILEFEEDBACKINTERNALPSKEYS_H