equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: This is the implementation of application class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef SU8USENGLISH_H |
|
20 #define SU8USENGLISH_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32std.h> |
|
24 #include <e32svr.h> |
|
25 |
|
26 #include "layout.h" |
|
27 #include "modifier.h" |
|
28 |
|
29 // CLASS DECLARATION |
|
30 |
|
31 class CSu8UnitedStatesLayout : public CStandardKeyboardLayout |
|
32 { |
|
33 public: |
|
34 |
|
35 static CKeyboardLayout* NewL(); |
|
36 |
|
37 // Report what layouts are supported: |
|
38 virtual TInt LayoutId() const; |
|
39 |
|
40 // For application switch key and middle softkey scancodes: |
|
41 TInt |
|
42 RawScanCode(TInt aHidKey, TInt aUsagePage, |
|
43 THidModifier aModifiers) const; |
|
44 |
|
45 private: |
|
46 |
|
47 /* C++ constructor */ |
|
48 CSu8UnitedStatesLayout(); |
|
49 |
|
50 // Standard look-up table: |
|
51 static const TInt KColumnMap[]; |
|
52 static const TUint16 KKeyCodes[]; |
|
53 |
|
54 // Special cases: |
|
55 static const TSpecialKey KSpecialCases[]; |
|
56 }; |
|
57 |
|
58 #endif //SU8USENGLISH_H |
|
59 //End of file |
|
60 |