lafagnosticuifoundation/cone/inc/coedefkeys.h
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef COEDEFKEYS_H_
       
    17 #define COEDEFKEYS_H_
       
    18 #include <e32std.h> 
       
    19 /**
       
    20  HAL supplies the number of supported pointers.
       
    21  This value places a hard, local limit on that number.
       
    22  
       
    23  @prototype
       
    24  @internalTechnology
       
    25  */
       
    26 const TInt KConeMaxSupportedPointers = 8;
       
    27 
       
    28 /** @internalTechnology */
       
    29 const TUint KUidFepFrameworkRepository=0x10272618;
       
    30 
       
    31 /** @internalTechnology */
       
    32 enum // key-masks and keys for the "KUidFepFrameworkRepository" repository
       
    33 	{
       
    34 	ERepositoryKeyMask_DefaultSetting	=0x00001000,
       
    35 	ERepositoryKeyMask_DynamicSetting	=0x00002000,
       
    36 
       
    37 	ERepositoryKeyMask_FepId			=0x00000001,
       
    38 	ERepositoryKeyMask_OnState			=0x00000002,
       
    39 	ERepositoryKeyMask_OnKeyData		=0x00000004,
       
    40 	ERepositoryKeyMask_OffKeyData		=0x00000008,
       
    41 
       
    42 	ERepositoryKey_DefaultFepId			=ERepositoryKeyMask_DefaultSetting|ERepositoryKeyMask_FepId,
       
    43 	ERepositoryKey_DefaultOnState		=ERepositoryKeyMask_DefaultSetting|ERepositoryKeyMask_OnState,
       
    44 	ERepositoryKey_DefaultOnKeyData		=ERepositoryKeyMask_DefaultSetting|ERepositoryKeyMask_OnKeyData,
       
    45 	ERepositoryKey_DefaultOffKeyData	=ERepositoryKeyMask_DefaultSetting|ERepositoryKeyMask_OffKeyData,
       
    46 
       
    47 	ERepositoryKey_DynamicFepId			=ERepositoryKeyMask_DynamicSetting|ERepositoryKeyMask_FepId,
       
    48 	ERepositoryKey_DynamicOnState		=ERepositoryKeyMask_DynamicSetting|ERepositoryKeyMask_OnState,
       
    49 	ERepositoryKey_DynamicOnKeyData		=ERepositoryKeyMask_DynamicSetting|ERepositoryKeyMask_OnKeyData,
       
    50 	ERepositoryKey_DynamicOffKeyData	=ERepositoryKeyMask_DynamicSetting|ERepositoryKeyMask_OffKeyData
       
    51 	};
       
    52 
       
    53 /** @internalTechnology */
       
    54 #if defined(_DEBUG)
       
    55 #define __DEBUG_CHECK_HEAP_INTEGRITY User::Heap().Check()
       
    56 #else
       
    57 #define __DEBUG_CHECK_HEAP_INTEGRITY
       
    58 #endif
       
    59 
       
    60 #endif /* COEDEFKEYS_H_ */