|
1 /* |
|
2 * Copyright (c) 2005-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: Peninput animation op codes and signal event |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 #ifndef _PENINPUTCMD_H |
|
33 #define _PENINPUTCMD_H |
|
34 // AnimDLL commands |
|
35 enum TPeninputOpcodes |
|
36 { |
|
37 EPeninputOpSystemCmdBase = 500, |
|
38 EPeninputOpFinishConstructionL, |
|
39 |
|
40 EPeninputOpActivate, |
|
41 EPeninputOpDeactivate, |
|
42 //EPeninputOpIsLayoutVisible, |
|
43 //EPeninputOpSetLayoutId, |
|
44 EPeninputOpLayoutSizeChanged, |
|
45 //EPeninputOpCommand, |
|
46 //EPeninputOpSetLayoutIdWithData, |
|
47 EPeninputOpLayoutSizeChangedWithData, |
|
48 //EPeninputOpServerDataNum, |
|
49 //EHwGetSelectedChars, |
|
50 |
|
51 //EPeninputOpSendAppEditorText, |
|
52 //EPeninputOpGetEditorMaxLen, |
|
53 |
|
54 EPeninputOpSetLayoutPos, |
|
55 //EPeninputOpGetLayoutPos, |
|
56 |
|
57 //EPeninputOpAsyncCommand, |
|
58 //EPeninputOpHasUI, |
|
59 //EPeninputOpChangeDisplayMode, |
|
60 //EPeninputOpCloseAnim, |
|
61 EPeninputOpLayoutSizeChangedWithSize, |
|
62 EPeninputOpLayoutUpdateArea, |
|
63 //EPeninputOpReadyToGetEvent, |
|
64 EPeninputOpCapturePointer, |
|
65 EPeninputOpSimulateEvent, |
|
66 #ifdef RD_TACTILE_FEEDBACK |
|
67 EPeninputOpRegisterFeedbackArea, //register the tactile feedback area |
|
68 EPeninputOpDeRegisterFeedbackArea, //de-register the tactile feedback area |
|
69 EPeninputOpChangeFeedbackArea, //change the area |
|
70 #endif // RD_TACTILE_FEEDBACK |
|
71 EPeninputOpRegisterRawKeyArea, |
|
72 EPeninputOpDeRegisterRawKeyArea, |
|
73 EPeninputOpEnalbeSprite, |
|
74 EPeninputOpLayoutUpdateAreaRegion, |
|
75 EPeninputOpLastCommand , |
|
76 EPeninputOpRequestDSAState, |
|
77 EPeninputOpChangeFeedbackType, |
|
78 EPeninputUserCmdBase = 1000 |
|
79 |
|
80 }; |
|
81 |
|
82 |
|
83 enum TSignalEvent |
|
84 { |
|
85 //reserved event area for animation dll used only |
|
86 // |
|
87 ESignalCapturePointer = 1000, //capture pointer event |
|
88 ESignalCancelEventBuffer, //ask owner cancel buffering the event |
|
89 ESignalSimulateEvent, |
|
90 ESignalPenUiActivated, //pen ui is going to open |
|
91 ESignalPenUiDeActivated, //pen ui is going to close |
|
92 ESignalRegisterFeedbackArea, |
|
93 ESignalDeRegisterFeedbackArea, |
|
94 ESignalChangeFeedbackArea, |
|
95 ESignalDeRegisterAllFeedbackArea, |
|
96 ESignalRegisterRawKeyArea, |
|
97 ESignalDeRegisterRawKeyArea, |
|
98 ESignalGetAllowedInputMode, |
|
99 ESignalPopupWnd, //show pop up window in pen UI |
|
100 ESignalPopupWndClosed, //The pop up window closed. |
|
101 |
|
102 ESignalServerExit, |
|
103 ESignalChangeFeedbackType, |
|
104 ESignalImmeSimulateEvent, |
|
105 ESignalServerReady = 1450, |
|
106 ESignalFepEventBase = 1500, //Event base for Fep. All fep event |
|
107 //is re-directed to Fep. |
|
108 ESignalKeyEvent = 1501, //hwr recongition selection event. |
|
109 ESignalNotifyUpdateCba, |
|
110 ESignalNotifyStoreMode, |
|
111 ESignalHwNotifySctPopup, |
|
112 |
|
113 ESignalSetAppEditorCursor, //set the application editor cursor |
|
114 ESignalLaunchHelp, |
|
115 ESignalLaunchGenerlSetting, |
|
116 ESignalLaunchLanguageMenu, |
|
117 ESignalLaunchOptionMenu, |
|
118 ESignalLayoutClosed, |
|
119 ESignalLayoutICFLengthChanged, |
|
120 ESignalLayoutUIChanged, |
|
121 ESignalRegisterAnimClient, //request to regist the animation client |
|
122 ESignalCommitInlineText, |
|
123 ESignalSelectMatchSelectionText, // param: index, commit (true or false?) |
|
124 ESignalNaviLeftMatchSelectionText, |
|
125 ESignalNaviRightMatchSelectionText, |
|
126 ESignalLaunchOptionsMenu, |
|
127 ESignalEnterSpellMode, |
|
128 ESignalExitSpellMode, |
|
129 ESignalLaunchSCT, |
|
130 ESignalEnterMatchSelection, |
|
131 ESignalGetEditMenuData, |
|
132 ESignalEditorMenuCommand, |
|
133 ESignalCandidateIndex, |
|
134 ESignalCharacterWidth, |
|
135 ESignalJapanesePredictive, |
|
136 ESignalWesternPredictive, |
|
137 ESignalSyncIcfData, |
|
138 ESignalCharacterStart, |
|
139 ESignalShowCandidate, |
|
140 ESignalSelectCandidate, |
|
141 ESignalAcceptTooltip, |
|
142 ESignalStartInlineText, |
|
143 ESignalCommitITIInlineText, |
|
144 ESignalUserEventBase = 2000 |
|
145 }; |
|
146 |
|
147 #endif //_PENINPUTCMD_H |
|
148 // End of File |