|
1 /* |
|
2 * Copyright (c) 2002-2007 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: Implementation of the hwr ui state machine (compositionnochars) |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // System includes |
|
20 |
|
21 // user includes |
|
22 #include "peninputhwrboxuistatewithtransitorychars.h" |
|
23 |
|
24 // ======== MEMBER FUNCTIONS ======== |
|
25 |
|
26 // Implementation of Class CPeninputHwrBoxUiStateWithTransitoryChars |
|
27 |
|
28 // ----------------------------------------------------------------------------- |
|
29 // CPeninputHwrBoxUiStateWithTransitoryChars::NewL |
|
30 // (other items were commented in a header). |
|
31 // ----------------------------------------------------------------------------- |
|
32 // |
|
33 CPeninputHwrBoxUiStateWithTransitoryChars* CPeninputHwrBoxUiStateWithTransitoryChars::NewL(MPeninputUiStateMgr* aUiStateMgr, |
|
34 MPeninputLayoutContext* aContext) |
|
35 { |
|
36 CPeninputHwrBoxUiStateWithTransitoryChars* self = new ( ELeave ) CPeninputHwrBoxUiStateWithTransitoryChars(aUiStateMgr,aContext); |
|
37 CleanupStack::PushL(self); |
|
38 self->Construct(); |
|
39 CleanupStack::Pop(self); |
|
40 return self; |
|
41 } |
|
42 |
|
43 // ----------------------------------------------------------------------------- |
|
44 // CPeninputHwrBoxUiStateWithTransitoryChars::~CPeninputHwrBoxUiStateWithTransitoryChars |
|
45 // (other items were commented in a header). |
|
46 // ----------------------------------------------------------------------------- |
|
47 // |
|
48 CPeninputHwrBoxUiStateWithTransitoryChars::~CPeninputHwrBoxUiStateWithTransitoryChars() |
|
49 { |
|
50 } |
|
51 |
|
52 // ----------------------------------------------------------------------------- |
|
53 // CPeninputHwrBoxUiStateWithTransitoryChars::HandleKeyEventL |
|
54 // (other items were commented in a header). |
|
55 // ----------------------------------------------------------------------------- |
|
56 // |
|
57 TBool CPeninputHwrBoxUiStateWithTransitoryChars::HandleKeyEventL(const TRawEvent& /*aData*/) |
|
58 { |
|
59 return ETrue; // by HiraganaKanji |
|
60 } |
|
61 |
|
62 // ----------------------------------------------------------------------------- |
|
63 // CPeninputHwrBoxUiStateWithTransitoryChars::CPeninputHwrBoxUiStateWithTransitoryChars |
|
64 // (other items were commented in a header). |
|
65 // ----------------------------------------------------------------------------- |
|
66 // |
|
67 CPeninputHwrBoxUiStateWithTransitoryChars::CPeninputHwrBoxUiStateWithTransitoryChars(MPeninputUiStateMgr* aUiStateMgr, |
|
68 MPeninputLayoutContext* aContext) |
|
69 :CPeninputHwrBoxUiState(aUiStateMgr,aContext) |
|
70 { |
|
71 } |
|
72 |
|
73 // ----------------------------------------------------------------------------- |
|
74 // CPeninputHwrBoxUiStateWithTransitoryChars::HandleVkbEvent |
|
75 // pseudo virual key (hwr 1 char) |
|
76 // (other items were commented in a header). |
|
77 // return False --->iHiraganaKanji->HandleControlEventJpL() by UiLayout |
|
78 // ----------------------------------------------------------------------------- |
|
79 // |
|
80 TBool CPeninputHwrBoxUiStateWithTransitoryChars::HandleVkbEvent(TInt /*aEventType*/, |
|
81 const TDesC& /*aEventData*/) |
|
82 { |
|
83 return EFalse; |
|
84 } |
|
85 |
|
86 // ----------------------------------------------------------------------------- |
|
87 // CPeninputHwrBoxUiStateWithTransitoryChars::HandleBackEvent |
|
88 // (other items were commented in a header). |
|
89 // ----------------------------------------------------------------------------- |
|
90 // |
|
91 TBool CPeninputHwrBoxUiStateWithTransitoryChars::HandleBackEvent(TInt /*aEventType*/, |
|
92 const TDesC& /*aEventData*/) |
|
93 { |
|
94 return EFalse; |
|
95 } |
|
96 // ----------------------------------------------------------------------------- |
|
97 // CPeninputHwrBoxUiStateWithTransitoryChars::HandleEnterSpaceTabEvent |
|
98 // (other items were commented in a header). |
|
99 // ----------------------------------------------------------------------------- |
|
100 // |
|
101 TBool CPeninputHwrBoxUiStateWithTransitoryChars::HandleEnterSpaceTabEvent(TInt /*aEventType*/, |
|
102 const TDesC& /*aEventData*/) |
|
103 { |
|
104 return EFalse; |
|
105 } |
|
106 |
|
107 // End Of File |