windowing/windowserver/nga/SERVER/PRIKEY.H
changeset 188 1b081cb0800b
parent 0 5d03bc08d59c
child 164 25ffed67c7ef
--- a/windowing/windowserver/nga/SERVER/PRIKEY.H	Fri Sep 24 16:14:28 2010 +0300
+++ b/windowing/windowserver/nga/SERVER/PRIKEY.H	Fri Sep 24 16:44:34 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 1999-2010 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -37,7 +37,7 @@
 public:
 	TPriorityKey(TUint aKeycode,TUint aModifierMask,TUint aModifiers,TPriorityKey *aPriorityKeys);
 	TInt Equals(TUint aKeycode,TUint aModifierMask,TUint aModifiers);
-	TInt KeyMatches(const TKeyData &aKey);
+	TInt KeyMatches(const TKeyEvent &aKeyEvent);
 public:
 	TPriorityKey *iNext;
 private:
@@ -50,12 +50,11 @@
 	{
 public:
 	CPriorityKey(CWsClient *aOwner);
-	void PriorityKey(TInt aHandle, const TKeyData &aKey, TInt aScanCode);
+	void PriorityKey(TInt aHandle, const TKeyEvent &aKeyEvent);
 	void GetData();
 private:
 	TInt iPriorityKeyHandle;
-	TKeyData iPriorityKey;
-	TInt iScanCode;
+	TKeyEvent iPriorityKey;
 	};
 
 #endif