kernel/eka/include/k32keys.inl
changeset 199 189ece41fa29
parent 0 a41df078684a
child 257 3e88ff8f41d5
equal deleted inserted replaced
189:a5496987b1da 199:189ece41fa29
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1997-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Eclipse Public License v1.0"
     4 // under the terms of the License "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    22  @internalComponent
    22  @internalComponent
    23  @released
    23  @released
    24 */
    24 */
    25 inline TBool MatchesMaskedValue(TInt aModifiers,const TMaskedModifiers &aMaskedModifiers)
    25 inline TBool MatchesMaskedValue(TInt aModifiers,const TMaskedModifiers &aMaskedModifiers)
    26     {
    26     {
    27     return (TBool)((aModifiers&aMaskedModifiers.iMask)==aMaskedModifiers.iValue);
    27     return (aModifiers&aMaskedModifiers.iMask)==aMaskedModifiers.iValue;
    28     }
    28     }
    29 
    29 
    30 /**
    30 /**
    31 @internalComponent
    31 @internalComponent
    32 @released
    32 @released