|
1 /* |
|
2 * Copyright (c) 2009 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: |
|
15 * |
|
16 */ |
|
17 #ifndef T_TAKNFEPVKBEVENT_H |
|
18 #define T_TAKNFEPVKBEVENT_H |
|
19 |
|
20 #include <peninputlayoutbasecontrol.h> |
|
21 |
|
22 enum TAknFepVkbEvent |
|
23 { |
|
24 //This definition is user close manully, |
|
25 //and must be reopened by EVkbCmdWindowOpen |
|
26 EVkbEventWindowClose = EEventControlUserBase + 1, |
|
27 |
|
28 //This definition is user click the option button |
|
29 EVkbEventTouchInputOption, |
|
30 |
|
31 //This event is sent when there is no any chars in composition field |
|
32 EVkbEventCompFieldNoChars, |
|
33 |
|
34 //This event is sent when composition field submits its string |
|
35 EVkbEventCompFieldAnalysisReq, |
|
36 |
|
37 //Send recognize string to compostion field |
|
38 EVkbEventCompFieldAnalysisResponse, |
|
39 |
|
40 //submit all candidates when no char code left to convert |
|
41 EVkbEventCompFieldSubmit, |
|
42 |
|
43 //flush data in composition to fep |
|
44 EVkbEventCompFieldDataFlush, |
|
45 |
|
46 //This event is sent when the cursor changes in composition field |
|
47 EVkbEventCompFieldCursorChange, |
|
48 |
|
49 //This definition is user select a candidate |
|
50 EVkbEventCandidateSelected, |
|
51 |
|
52 //This definition is user click the backspace key |
|
53 |
|
54 //This definition is user click the enter key |
|
55 EVkbEventKeyEnter, |
|
56 |
|
57 //This definition is user click the tab button |
|
58 |
|
59 //This definition is user click the space button |
|
60 EVkbEventKeySpace, |
|
61 |
|
62 //This definition is user click the capslock button |
|
63 EVkbEventKeyCapslock, |
|
64 |
|
65 //This definition is user click the shift button |
|
66 EVkbEventKeyShift, |
|
67 |
|
68 //This definition is user click the input language swithch button |
|
69 EVkbEventInputLangSwitch, |
|
70 |
|
71 //This definition is user click the hwr button |
|
72 EVkbEventHwr, |
|
73 |
|
74 //This definition is user click the range button |
|
75 EVkbEventSetRange, |
|
76 |
|
77 //Set permitted range |
|
78 EVkbEventSetPermittedRange, |
|
79 |
|
80 // Notify control(such as composition field and drop down list) to clear text, if needed |
|
81 EVkbEventClearContent, |
|
82 |
|
83 //Event when candidate list from engine changed |
|
84 EVkbEventCandidatesChanged, |
|
85 |
|
86 //Event notify reset shift and capslock |
|
87 EVkbEventResetShiftCapslock, |
|
88 |
|
89 //Event notify reset shift |
|
90 EVkbEventResetShift, |
|
91 |
|
92 //Evnet notify language change |
|
93 EVkbEventLanguageChanged, |
|
94 |
|
95 //Evnet notify position changed |
|
96 EVkbEventPositionChanged, |
|
97 |
|
98 //Event notify vkb layout change from standby to composition |
|
99 EVkbEventStandby2Composition, |
|
100 |
|
101 //Event notify vkb layout change from composition to standby |
|
102 EVkbEventComposition2Standby, |
|
103 |
|
104 //Event when user press arrow-down of drop down list |
|
105 EVkbEventGetNextPageCandidate, |
|
106 |
|
107 //Event when user press arrow-up of drop down list |
|
108 EVkbEventGetPreviousPageCandidate, |
|
109 |
|
110 //Event to query if next candidate exist |
|
111 EVkbEventQueryCandidateExisted, |
|
112 |
|
113 //Event to left move cursor |
|
114 EVkbEventLeftArrow, |
|
115 |
|
116 //Event to right move cursor |
|
117 EVkbEventRightArrow, |
|
118 |
|
119 //Event to up move cursor |
|
120 EVkbEventUpArrow, |
|
121 |
|
122 //Event to down move cursor |
|
123 EVkbEventDownArrow, |
|
124 |
|
125 //This definition is the last event |
|
126 EVkbEventLast |
|
127 }; |
|
128 |
|
129 #endif //T_TAKNFEPVKBEVENT_H |
|
130 |
|
131 // End Of File |