resourcemgmt/hwresourcesmgr/include/HWRMPrivatePSKeys.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 /*
       
     2 * Copyright (c) 2005-2009 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:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 /**
       
    22  @file
       
    23  @internalTechnology 
       
    24 */
       
    25 
       
    26 #ifndef HWRMPRIVATEPSKEYS_H
       
    27 #define HWRMPRIVATEPSKEYS_H
       
    28 
       
    29 // INCLUDES
       
    30 #include <e32std.h>
       
    31 
       
    32 // =============================================================================
       
    33 // HW Resource Notification Private PubSub API
       
    34 // =============================================================================
       
    35 const TUid KPSUidHWResourceNotification = {0x101F7A01}; 
       
    36 
       
    37 /**
       
    38 * Vibra usage status.
       
    39 * This data is interpreted as CHWRMVibra::TVibraStatus.s
       
    40 */
       
    41 const TUint32 KHWRMVibraStatus = 0x00001001;
       
    42 
       
    43 /**
       
    44 * Light usage statuses for various light targets.
       
    45 * This data is dependent on CHWRMLight::TLightTarget enumeration.
       
    46 *
       
    47 * Each 4 bit set is interpreted as CHWRMLight:TLightStatus
       
    48 */
       
    49 const TUint32 KHWRMLightStatus  = 0x00002001;
       
    50 
       
    51 // =============================================================================
       
    52 // HWRM Internal Blocking API
       
    53 // =============================================================================
       
    54 const TUid KPSUidHWRMPrivate = {0x10205077}; 
       
    55 
       
    56 /**
       
    57 * Vibra blocking internally by HWRM.
       
    58 *
       
    59 * HWRM Server sets this P&S key to a non-zero value when it needs
       
    60 * vibra to be blocked. Keys are handled as bitmask, so it should be 
       
    61 * defined accordingly (i.e. not to define same bits as e.g. KHWRMAccessoryVibraBlocked)
       
    62 
       
    63 */
       
    64 //const TUint32 KHWRMInternalVibraBlocked = 0x00003001;
       
    65 const TUint32 KHWRMInternalVibraBlocked = 0x00004000;
       
    66 
       
    67 
       
    68 
       
    69 #endif      // HWRMPRIVATEPSKEYS_H
       
    70 
       
    71 // End of File
       
    72