|
1 /* |
|
2 * Copyright (c) 2002-2010 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 * Common phone view command definitions. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef PHONEVIEWCOMMANDDEFINITIONS_H |
|
21 #define PHONEVIEWCOMMANDDEFINITIONS_H |
|
22 |
|
23 // INCLUDES |
|
24 |
|
25 #include "phoneconstants.h" |
|
26 |
|
27 // DATA TYPES |
|
28 |
|
29 typedef TInt TPhoneViewCommandId; |
|
30 |
|
31 enum |
|
32 { |
|
33 EPhoneViewCreateNumberEntry = KPhoneViewCommandCommonFirst, |
|
34 EPhoneViewSetNumberEntryContent, |
|
35 EPhoneViewSendKeyEventToNumberEntry, |
|
36 EPhoneViewRemoveNumberEntry, |
|
37 EPhoneViewSetNumberEntryVisible, |
|
38 EPhoneViewGetNumberFromEntry, |
|
39 EPhoneViewGetNumberEntryCount, |
|
40 EPhoneViewGetNumberEntryIsUsedStatus, |
|
41 EPhoneViewGetNumberEntryIsVisibleStatus, |
|
42 EPhoneViewToggleNumberEntryAlphaNumericMode, // 10 |
|
43 EPhoneViewIsNumberEntryNumericMode, |
|
44 EPhoneViewClearNumberEntryContent, |
|
45 EPhoneViewCreateCallHeader, |
|
46 EPhoneViewCreateEmergencyCallHeader, |
|
47 EPhoneViewUpdateCallHeaderRemoteInfoData, |
|
48 EPhoneViewUpdateCallHeaderCallDuration, |
|
49 EPhoneViewRemoveCallHeader, |
|
50 EPhoneViewMenuBarOpen, |
|
51 EPhoneViewMenuBarClose, |
|
52 EPhoneViewDimCbaCommand, // 20 |
|
53 EPhoneViewUpdateCba, |
|
54 EPhoneViewUpdateBubble, |
|
55 EPhoneViewMenuPane, |
|
56 EPhoneViewMenuBar, |
|
57 EPhoneViewSetTitlePaneContent, |
|
58 EPhoneViewSetNaviPaneContent, |
|
59 EPhoneViewSetTitlePanePicture, |
|
60 EPhoneViewGetTitlePaneIsVisibleStatus, |
|
61 EPhoneViewActivateAudioPathUIChanges, |
|
62 EPhoneViewActivateAudioAvailabilityUIChanges, //30 |
|
63 EPhoneViewActivateMuteUIChanges, |
|
64 EPhoneViewShowNote, |
|
65 EPhoneViewShowGlobalNote, |
|
66 EPhoneViewShowProgressNote, |
|
67 EPhoneViewRemoveNote, |
|
68 EPhoneViewRemoveProgressNote, |
|
69 EPhoneViewRemoveGlobalNote, |
|
70 EPhoneViewGetIsNoteVisible, |
|
71 EPhoneViewGetIsProgressNoteVisible, |
|
72 EPhoneViewShowQuery, // 40 |
|
73 EPhoneViewSetListQueryString, |
|
74 EPhoneViewRemoveQuery, |
|
75 EPhoneViewGetTextQueryContent, |
|
76 EPhoneViewSetTopApplication, |
|
77 EPhoneViewBringAppToForeground, |
|
78 EPhoneViewSendToBackground, |
|
79 EPhoneViewSetNeedToSendToBackgroundStatus, |
|
80 EPhoneViewGetNeedToSendToBackgroundStatus, |
|
81 EPhoneViewGetTopApplicationIsDisplayedStatus, |
|
82 EPhoneViewGetForegroundApplication, // 50 |
|
83 EPhoneViewSetBackgroundImageBitmap, |
|
84 EPhoneViewGetBackgroundImageBitmap, |
|
85 EPhoneViewActivateApp, |
|
86 EPhoneViewActivateAppView, |
|
87 EPhoneViewActivateAppViewWithCustomMessage, |
|
88 EPhoneViewActivateAppViewConventional, |
|
89 EPhoneViewLaunchApplication, |
|
90 EPhoneViewLaunchHelpApplication, |
|
91 EPhoneViewOpenMessageEditor, |
|
92 EPhoneViewExitApplications, // 60 |
|
93 EPhoneViewUpdateIncallIndicator, |
|
94 EPhoneViewStartCapturingKey, |
|
95 EPhoneViewStopCapturingKey, |
|
96 EPhoneViewSetGlobalNotifiersDisabled, |
|
97 EPhoneViewSetSpeedDialLocation, |
|
98 EPhoneViewGetNumberFromSpeedDialLocation, |
|
99 EPhoneViewAssignSpeedDialLocation, |
|
100 EPhoneViewGetHoldFlag, |
|
101 EPhoneViewSetHoldFlag, |
|
102 EPhoneViewSetSoftRejectFlag, // 70 |
|
103 EPhoneViewGetSoftRejectFlag, |
|
104 EPhoneViewSetServiceCodeFlag, |
|
105 EPhoneViewUpdateContact, |
|
106 EPhoneViewAddContact, |
|
107 EPhoneViewOpenSingleItemFetchDialog, |
|
108 EPhoneViewRemovePhoneDialogs, |
|
109 EPhoneViewCreateConference, |
|
110 EPhoneViewAddToConference, |
|
111 EPhoneViewRemoveFromConference, |
|
112 EPhoneViewPrivateFromConference, // 80 |
|
113 EPhoneViewSelectedConfMember, |
|
114 EPhoneViewGetConferenceListVisibleFlag, |
|
115 EPhoneViewOpenConferenceList, |
|
116 EPhoneViewGetCallState, |
|
117 EPhoneViewGetCallIdByState, |
|
118 EPhoneViewMoveHighLightInList, |
|
119 EPhoneViewGetCountOfActiveCalls, |
|
120 EPhoneViewSetNaviPaneAudioVolume, |
|
121 EPhoneViewShowNaviPaneAudioVolume, |
|
122 EPhoneViewHideNaviPaneAudioVolume, // 90 |
|
123 EPhoneViewGetIsConference, |
|
124 EPhoneViewGetCallExistsInConference, |
|
125 EPhoneViewRemoveAllCallHeaders, |
|
126 EPhoneViewPlayRingTone, |
|
127 EPhoneViewMuteRingTone, |
|
128 EPhoneViewStopRingTone, |
|
129 EPhoneViewMuteRingToneOnAnswer, |
|
130 EPhoneViewCipheringInfoChange, |
|
131 EPhoneViewUpdateMaxConfMemberFlag, |
|
132 EPhoneViewCloseFSW, // 100 |
|
133 EPhoneViewLaunchRfsDeep, |
|
134 EPhoneViewLaunchRfsNormal, |
|
135 EPhoneViewUpdateView, |
|
136 EPhoneViewOpenSoftRejectEditor, |
|
137 EPhoneViewSendMessage, |
|
138 EPhoneViewSetBlockingDialogStatus, |
|
139 EPhoneViewSetPhoneNumberAvailableInPhoneEngine, |
|
140 EPhoneViewSetStatusPaneVisible, // 110 |
|
141 EPhoneViewEnableKeyLock, |
|
142 EPhoneViewLaunchFaxModem, |
|
143 EPhoneViewUpdateFSW, |
|
144 EPhoneViewIsQuery, |
|
145 EPhoneViewBringIdleToForeground, |
|
146 EPhoneViewSetIdleTopApplication, |
|
147 EPhoneViewBeginUpdate, |
|
148 EPhoneViewEndUpdate, |
|
149 EPhoneViewSetConfrenceOptionsFlag, // 120 |
|
150 EPhoneViewRemoveConferenceBubble, |
|
151 EPhoneViewGetSoftRejectWindowGroupId, |
|
152 EPhoneViewSetTouchPaneButtons, |
|
153 EPhoneViewSetTouchPaneVisible, |
|
154 EPhoneViewEnableTouchButton, |
|
155 EPhoneViewDisableTouchButton, |
|
156 EPhoneResetTouchButtons, |
|
157 EPhoneViewGetIsConferenceInSelectionMode, |
|
158 EPhoneViewIsStraightCallToVideoMailBox, |
|
159 EPhoneViewSetDtmfDialerViewVisible, // 130 |
|
160 EPhoneViewSetRestrictedDialer, |
|
161 EPhoneViewIsConferenceInExpandedMode, |
|
162 EPhoneViewIsMenuBarVisible, |
|
163 EPhoneViewGetBlockingDialogStatus, |
|
164 EPhoneViewYesSingleItemFetch, |
|
165 EPhoneViewNoSingleItemFetch, |
|
166 EPhoneViewGetLocalizedNumberFromEntry, |
|
167 EPhoneViewIsNoteActive, |
|
168 EPhoneViewOpenNumberEntry, |
|
169 EPhoneViewOpenCallHandling, // 140 |
|
170 EPhoneViewGetConferenceAndSingleFlag, |
|
171 EPhoneViewSetConferenceAndSingleFlag, |
|
172 EPhoneViewSetVideoCallFlag, |
|
173 EPhoneViewSetDtmfOptionsFlag, |
|
174 EPhoneViewShowVTSetupFailedCreateCallToSameContactQuery, |
|
175 EPhoneViewGetAudioVolumeLevel, |
|
176 EPhoneViewIsIdleTopApp, |
|
177 EPhoneViewUpdateToolbar, |
|
178 EPhoneViewSetControlAndVisibility, |
|
179 EPhoneViewAllowWaitingCallHeader, // 150 |
|
180 EPhoneViewBeginTransEffect, |
|
181 EPhoneViewEndTransEffect, |
|
182 EPhoneViewSetDialerControlVisible, |
|
183 EPhoneViewCloseSingleItemFetchDialog, |
|
184 EPhoneViewGetActivatePreviousApp, |
|
185 EPhoneViewActivatePreviousApp, |
|
186 EPhoneViewSetPointerCapture, |
|
187 EPhoneViewSetSendKeyDialerActivationFlag, |
|
188 EPhoneViewPrepareIcons, |
|
189 EPhoneViewKeypadAudioEnabled, // 160 |
|
190 EPhoneViewKeypadAudioDisabled, |
|
191 EPhoneViewUpdateCallHeaderRemoteInfoDataAndLabel, |
|
192 EPhoneViewRemoveDtmfNote, |
|
193 EPhoneViewUpdatePhoneIconToFSW, |
|
194 EPhoneViewSetEikonNotifiersDisabled, |
|
195 EPhoneViewCancelAllNotications, |
|
196 EPhoneViewSetVideoCallDTMFVisibilityFlag, |
|
197 EPhoneViewLoadPlugins, // 170 |
|
198 EPhoneViewOpenVirtualKeyBoard, |
|
199 EPhoneViewUpdateNoteSoftkeys, |
|
200 |
|
201 EPhoneViewSendAiwCommand, |
|
202 EPhoneViewShowCustomizedDialer, |
|
203 EPhoneViewHideCustomizedDialer, |
|
204 EPhoneViewGetCustomizedDialerMenuResourceId, |
|
205 EPhoneViewGetCustomizedDialerCbaResourceId, |
|
206 EPhoneViewCipheringInfoChangePlayTone, |
|
207 EPhoneViewCreatePhoneBookServices, |
|
208 EPhoneViewDisableKeyLockWithoutNote, // 180 |
|
209 EPhoneViewGetKeyLockStatus, |
|
210 EPhoneViewSetNumberEntryObserver, |
|
211 EPhoneViewGetSingleItemFetchType, |
|
212 EPhoneViewRemoveGlobalWaitNote, |
|
213 EPhoneViewSetPhoneCustomization, |
|
214 EPhoneViewSetViewCustomization, |
|
215 EPhoneViewSetButtonCustomization, |
|
216 EPhoneViewUpdateContactByString, |
|
217 EPhoneViewAddContactByString, |
|
218 EPhoneViewIsActiveNoteDissmissableByKeyEvent, // 190 |
|
219 EPhoneViewUpdateContextMenu, |
|
220 EPhoneViewSetNoConnectedCalls, |
|
221 EPhoneViewIsDTMFEditorVisible, |
|
222 EPhoneViewSetToolbarDimming, |
|
223 EPhoneViewEnableToolbarButton, |
|
224 EPhoneViewHideToolbar, |
|
225 EPhoneViewShowToolbar, |
|
226 EPhoneViewGetEasyDialingInFocusStatus, |
|
227 EPhoneViewSetInvalidCsPhoneNumberFlag, |
|
228 EPhoneViewGetInvalidCsPhoneNumberFlag, |
|
229 EPhoneViewGetEasyDialingMenuId, |
|
230 EPhoneViewGetEasyDialingCbaId, |
|
231 EPhoneViewGetNeedToReturnToForegroundAppStatus, |
|
232 EPhoneViewSetNeedToReturnToForegroundAppStatus, |
|
233 EPhoneViewSetConferenceAndWaitingVideo, |
|
234 EPhoneViewLaunchMultimediaSharing, |
|
235 EPhoneViewGetQwertyModeObserver, |
|
236 EPhoneViewSetIncallBubbleTrue, |
|
237 EPhoneViewSetIncallBubbleFalse, |
|
238 EPhoneViewIsDisplayingMenuOrDialog, |
|
239 |
|
240 EPhoneViewSetVoipCallDTMFVisibilityFlag, |
|
241 |
|
242 EPhoneAmountOfCommands // Don't remove this, this should always be the last in list. |
|
243 }; |
|
244 |
|
245 |
|
246 typedef TInt TPhoneViewResponseId; |
|
247 |
|
248 enum |
|
249 { |
|
250 EPhoneViewResponseFailed = KPhoneViewResponseCommonFirst, |
|
251 EPhoneViewResponseSuccess, |
|
252 EPhoneViewResponseNumberEntryCleared |
|
253 |
|
254 }; |
|
255 |
|
256 #endif // PHONEVIEWCOMMANDDEFINITIONS_H |
|
257 |
|
258 // End of File |