equal
deleted
inserted
replaced
1 // Copyright (c) 1999-2010 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 1999-2009 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 TKeyEvent &aKeyEvent); |
40 TInt KeyMatches(const TKeyData &aKey); |
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 TKeyEvent &aKeyEvent); |
53 void PriorityKey(TInt aHandle, const TKeyData &aKey, TInt aScanCode); |
54 void GetData(); |
54 void GetData(); |
55 private: |
55 private: |
56 TInt iPriorityKeyHandle; |
56 TInt iPriorityKeyHandle; |
57 TKeyEvent iPriorityKey; |
57 TKeyData iPriorityKey; |
|
58 TInt iScanCode; |
58 }; |
59 }; |
59 |
60 |
60 #endif |
61 #endif |