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 BELGIAN_H |
|
20 #define BELGIAN_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32std.h> |
|
24 #include <e32svr.h> |
|
25 #include "layout.h" |
|
26 #include "modifier.h" |
|
27 |
|
28 // CLASS DECLARATION |
|
29 |
|
30 class CBelgianLayout : public CDeadKeyLayout |
|
31 { |
|
32 public: |
|
33 |
|
34 static CKeyboardLayout* NewL(); |
|
35 |
|
36 // Layout has additional Caps Lock keys: |
|
37 virtual TBool |
|
38 ChangesWithCapsLock(TInt aHidKey, THidModifier aModifiers) const; |
|
39 |
|
40 // Report what layouts are supported: |
|
41 virtual TInt LayoutId() const; |
|
42 |
|
43 private: |
|
44 |
|
45 /* C++ constructor */ |
|
46 CBelgianLayout(); |
|
47 |
|
48 // Standard look-up table: |
|
49 static const TInt KColumnMap[]; |
|
50 static const TUint16 KKeyCodes[]; |
|
51 |
|
52 // Special cases: |
|
53 static const TSpecialKey KSpecialCases[]; |
|
54 |
|
55 // Dead key tables: |
|
56 static const TIndexPair KDeadKeyIndex[]; |
|
57 static const TKeyPair KDeadKeyCircumflex[]; |
|
58 static const TKeyPair KDeadKeyDiaeresis[]; |
|
59 static const TKeyPair KDeadKeyAcute[]; |
|
60 static const TKeyPair KDeadKeyGrave[]; |
|
61 static const TKeyPair KDeadKeyTilde[]; |
|
62 }; |
|
63 |
|
64 #endif // BELGIAN_H |
|
65 //End of file |