windowing/windowserver/nga/SERVER/PRIKEY.H
changeset 188 1b081cb0800b
parent 0 5d03bc08d59c
child 164 25ffed67c7ef
equal deleted inserted replaced
187:9f66f99ee56f 188:1b081cb0800b
     1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1999-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 "Eclipse Public License v1.0"
     4 // under the terms of "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".
    35 class TPriorityKey
    35 class TPriorityKey
    36 	{
    36 	{
    37 public:
    37 public:
    38 	TPriorityKey(TUint aKeycode,TUint aModifierMask,TUint aModifiers,TPriorityKey *aPriorityKeys);
    38 	TPriorityKey(TUint aKeycode,TUint aModifierMask,TUint aModifiers,TPriorityKey *aPriorityKeys);
    39 	TInt Equals(TUint aKeycode,TUint aModifierMask,TUint aModifiers);
    39 	TInt Equals(TUint aKeycode,TUint aModifierMask,TUint aModifiers);
    40 	TInt KeyMatches(const TKeyData &aKey);
    40 	TInt KeyMatches(const TKeyEvent &aKeyEvent);
    41 public:
    41 public:
    42 	TPriorityKey *iNext;
    42 	TPriorityKey *iNext;
    43 private:
    43 private:
    44 	TUint iKeyCode;
    44 	TUint iKeyCode;
    45 	TUint iModifiers;
    45 	TUint iModifiers;
    48 
    48 
    49 class CPriorityKey : public CEventBase
    49 class CPriorityKey : public CEventBase
    50 	{
    50 	{
    51 public:
    51 public:
    52 	CPriorityKey(CWsClient *aOwner);
    52 	CPriorityKey(CWsClient *aOwner);
    53 	void PriorityKey(TInt aHandle, const TKeyData &aKey, TInt aScanCode);
    53 	void PriorityKey(TInt aHandle, const TKeyEvent &aKeyEvent);
    54 	void GetData();
    54 	void GetData();
    55 private:
    55 private:
    56 	TInt iPriorityKeyHandle;
    56 	TInt iPriorityKeyHandle;
    57 	TKeyData iPriorityKey;
    57 	TKeyEvent iPriorityKey;
    58 	TInt iScanCode;
       
    59 	};
    58 	};
    60 
    59 
    61 #endif
    60 #endif